![]() |
![]() |
||||
At line 5 removed 2 lines. |
Note that on Tomcat, only 1 <[url-pattern|web.xml.URLPattern]> tag is permitted per <jsp-property-group>. If more than 1 is provided, only the final one will be used. |
At line 17 changed 1 line. |
* This will include the JSP specified at the beginning and end of each JSP page. It is equivelant to using an include directive such as <%@ include file="relativeFileName" %> at the top and bottom of the JSP. |
* This will include the JSP specified at the beginning and end of each JSP page. It is equivelant to using a static include directive such as <%@ include file="include.jsp" %> at the top and bottom of the JSP and can be used to set various JSP variables. |
At line 19 added 5 lines. |
!!Important Notes |
* On Tomcat (at least as of Version 5.5.35, 6.0.35 and 7.0.26), only one <[url-pattern|web.xml.URLPattern]> tag is permitted per <jsp-property-group>. If more than one is provided, only the final one will be used and debugging this condition can be very time consuming ;-) |
* After changing a JSP property group, it is necessary to recompile any JSP files which rely on it. This can be done by clearing the work folder (for metawerx customers - click Clear Work Folder in SiteWinder) or by touching each JSP file to force a recompile. |
\\ |
At line 28 added 4 lines. |
\\ |
!!See Also |
* [SCWCD Study Guide by Mikalai Zaikin|http://java.boot.by/wcd-guide/ch06s07.html] for a good description of the way include directives are handled, and the differences between the static include directive and the dynamic include action |