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 2002/11/14 23:41:03 UTC
DO NOT REPLY [Bug 14577] New: -
comment mangles declaration
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=14577>.
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=14577
comment mangles declaration
Summary: comment mangles declaration
Product: Tomcat 4
Version: 4.1.12
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: jothomps@amis.com
The double slash (//) comment inside a <%! %> declaration of a jsp leads to
additional <%! %> declarations being commented out.
Example:
This code in the jsp file:
<%! //RowList p_info; %>
<%! RowList a_task; %>
<%! RowList o_task; %>
produces this code in the .java file:
//RowList p_info; RowList a_task; RowList o_task;
Thus, the a_task and o_task variables are undefined in later uses, and the
code will not compile (excerpt):
Tomcat 4.0.4 and 3.2.1 did not exhibit this behavior. Other than that, I
cannot say when this bug may have been introduced.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>