JspServlet

From CauchoWiki

Jump to: navigation, search


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

paramdescriptiondefault
xmlif true, JSP files are in XML format, i.e. like .jspxfalse
load-tld-on-initif true, tlds are loaded when the JSP servlet is initializedfalse
page-cache-maxhow 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