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=14943>. 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=14943 // style scriptlet comment with %> on same line comments out the next out.write(...) Summary: // style scriptlet comment with %> on same line comments out the next out.write(...) Product: Tomcat 4 Version: 4.1.12 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] A // style sciptlet comment with %> on same line comments out the next out.write (...) statement. Consider the following jsp code. ================== <% // This is a comment %> This should be displayed on the screen. <br> The end. ================== This is the java output. ================== // This is a comment out.write("\r\nThis should be displayed on the screen. "); out.write("<br>\r\nThe end.\r\n"); ================== By placing the %>, it wipes out the first out.write. The workaround is to place the ending %> on a new line. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>