Yes and no. JSP does serve some of the functions of ASP in terms of providing dynamic content generation through embedded scripting tags. And the name "JSP" no doubt is a marketing device used early on to announce that there was a java-based alternative to ASP. But JSP has evolved and become part of a larger framework as part of the J2EE standard, so learning Java and JSP will let you do a lot more now than if you just learned ASP.
posted 15 years ago
which embeds several other files, generating over 5K of HTML which is sent to the client. The main switch uses includes to improve readability, the included pages can each run to over a hundred lines which would otherwise make the code hard to follow. In turn, the data for this JSP is provided by a servlet which relies on a bean and a custom List inplementation to provide both data retrieval from our backend (legacy application) and sorting of the output (that's why I needed a custom List, to provide sorting). In ASP all that code would have to have been included right there in the main ASP page, maybe using a few ActiveX controls but no more. In PHP it would have been even worse... [ March 09, 2004: Message edited by: Jeroen Wenting ]