JspServlet

From Resin 3.0

Jump to: navigation, search


The JspServlet handles processing of .jsp files. It has the following init parameters:

param description default
xml if true, JSP files are in XML format, i.e. like .jspx false
load-tld-on-init if true, tlds are loaded when the JSP servlet is initialized false
page-cache-max how many .class files to save in the load cache (3.0.19) 1024

.tld loading can take some time on server startup because the JspServlet must scan every .jar file and classes directory looking for .tld files. This scanning is necessary in some cases for libraries like JSF because they rely on <listener> directives for their initialization.

Personal tools