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/10/13 05:43:46 UTC
DO NOT REPLY [Bug 13576] New: -
// comments in <% %> java scriptlet don't compile correctly
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=13576>.
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=13576
// comments in <% %> java scriptlet don't compile correctly
Summary: // comments in <% %> java scriptlet don't compile
correctly
Product: Tomcat 4
Version: 4.1.12
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: mitchmccabe@m492.net
In a JSP I had code something like the following:
<% if (test == true) { %>
html stuff here...
<% } // end if %>
more html stuff here...
When the <% } // end if %> was converted there was no 'line-feed'
in the java code after the comment and the '// end if' acted like
a line comment on generated java code that followed. This caused
the page to be rendered incorrectly.
No problems with Tomcat 4.0.5 and earlier 4.0.x.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>