JspServlet

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
(renamed tag to directive)
Line 11: Line 11:
 
|}
 
|}
  
.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]]> tags for their initialization.
+
.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.

Revision as of 20:22, 21 February 2006


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

.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