JSP and ClassLoader
Posted on 2002-06-21
Explain how class loaders work with JSP, and how is that different than servlets.
Can you have a JSP application that is nearly static, with many thousands of megabytes of JSP pages?
How come it is possible to replace a JSP page with a fresher version, and the servlet behind the JSP page gets reloaded. But it doesn't work the same way with a servlet. In the case of a JSP, only the one JSP page is recompiled, and users do not loose their sessions. In the case of servlets, if it works at all, replacing the servlet will restart the entire web application.