You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/01/05 07:00:46 UTC
DO NOT REPLY [Bug 38129] New: - @include directive should include static content, not parsed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38129
Summary: @include directive should include static content, not
parsed
Product: Tomcat 5
Version: Unknown
Platform: Other
URL: http://java.sun.com/products/jsp/syntax/1.2/syntaxref129
.html
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: ramon.casha@linux.org.mt
The <@include ...> directive should statically include the text from the
specified file into the page at translation time (see specs at link). What is
actually happening is that the specified file is parsed as a JSP file, then
added. For instance it's not possible to have a "header.inc" and "footer.inc"
where taglib tags opened in the header are closed in the footer file - Jasper
gives an "Unterminated xxx tag" exception. That error should only occur if the
opened tag is not closed by the end of the "main" file.
The version of Tomcat is that included in JBoss 4.0.3 SP1 (version 5.5.x).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38129] - @include directive should include static content, not parsed
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38129
ramon.casha@linux.org.mt changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Additional Comments From ramon.casha@linux.org.mt 2006-01-05 08:35 -------
The JSP file and its static include files *together* are a translation unit. See
link below. So, a tag which is opened in one @include'd file and closed in
another is in the same translation unit.
http://java.sun.com/products/jsp/syntax/1.2/syntaxref1210.html
http://java.sun.com/products/jsp/tags/syntaxref.fm3.html: "A translation unit is
the JSP source file plus all of its static include files, but without any
dynamic include files."
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38129] - @include directive should include static content, not parsed
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38129
william.barker@wilshire.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From william.barker@wilshire.com 2006-01-05 08:14 -------
The JSP spec specifically forbids having an opening tag in one translation
unit, and the closing tag in another.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38129] - @include directive should include static content, not parsed
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38129
funkman@joedog.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
------- Additional Comments From funkman@joedog.org 2006-01-18 01:44 -------
And from your link, there is a link to
http://java.sun.com/products/jsp/tags/syntaxref.fm6.html#8772 which states:
"This means that the parsed result of the included file is added to the JSP file
where the include directive is placed. Once the included file is parsed and
included, processing resumes with the next line of the calling JSP file."
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org