DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17436>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17436 jasper forces static jsp-include files to be properly formatted Summary: jasper forces static jsp-include files to be properly formatted Product: Tomcat 4 Version: 4.1.18 Platform: Other OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Jasper 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Please note that this pertains to static-jsp-includes not dynamic-jsp-includes. When a jsp uses a static-jsp include, the jasper compiler requires the subdocumment be a properly formatted before inserting the contents into the jsp. The jasper compile should instead substitute the static-include into teh jsp and then parse the assembled jsp for validity. Section 2.10.3 of the JSP1.2 spec reads: "The include directive is used to substitute text and/or code at JSP page translation-time." For example, given index.jsp has two includes top.inc and bottom.inc. The contents of the files are below: index.jsp-------------------- <%@ taglib uri="/util.tld" prefix="util"%> <%@ include file="top.inc" %> <table><tr><td>text body of the jsp</td></tr></table> <%@ include file="bottom.inc" %> top.inc --------------------- <util:html> <util:header>header stuff</util:haeder> <util:body> bottom.inc --------------- </util:body> </util:html> There are many situations where this structure of static-jsp includes are useful. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]