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=8029>.
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=8029

String literal "%\>" in JSP page causes 'Invalid escape character' complier error

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From [EMAIL PROTECTED]  2002-05-06 13:04 -------
Error message persists even after I removed the java comments. I just 
reporduced with the following jsp file:

<%
String str1 = "<%@ include file=\"/vgn/jsp/include.jsp\" %\>";
out.println(str1);
%>

I got the same error on Tomcat 4:


org.apache.jasper.JasperException: Unable to compile class for JSP

An error occured between lines: 1 and 4 in the jsp file: /escape.jsp

Generated servlet error:
C:\Apache\jakarta-tomcat-4.0\work\localhost\_\escape$jsp.java:55: Invalid 
escape character.
                String str1 = "<%@ include file=\"/vgn/jsp/include.jsp\" %\>";
                                                                          ^
1 error

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to