This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If we make JSP files not depend on Servlets, we may want to expose the JspContext object, not the PageContext object. Can someone explain what does the above statement means.
When does " JSP files not depend on Servlets" ?Arent all jsp files going to get converted into servlets everytime
well, in modern servlet specifications (what is it, 2.4 I think?) it is possible to use JSP syntax in a file to create a tag library, that is instead of creating Java class that extends the Tag support class and creating a .tld descriptor XML file, it is possible to create a WEB-INF/tags folder,and inside there, create a folder for each tag library (prefix), and a JSP-syntax file, with the ".tag" extension, that will be compiled into a Java class that extends the JSP tag support class, instead of a servlet.