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 01:16:51 UTC
DO NOT REPLY [Bug 13575] New: -
Parser.parseAttribute() can report unknown error "jsp.error.attribute.noequal"
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=13575>.
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=13575
Parser.parseAttribute() can report unknown error "jsp.error.attribute.noequal"
Summary: Parser.parseAttribute() can report unknown error
"jsp.error.attribute.noequal"
Product: Tomcat 4
Version: 4.1.10
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: dmkarr@earthlink.net
I managed to leave off a double quote at the end of an attribute value on a JSP
page. When I executed it, I got the following root cause:
org.apache.jasper.JasperException: /html-button.jsp(31,47)
jsp.error.attribute.noequal
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:417)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
The error code appears to be unsubstituted with the english message. Looking in
the code, it's clear that this was reported because it couldn't find an equals
sign (the missing quote just got it lost, I guess).
In the "messages.properties" file in the Jasper tree, there are message keys
close to this key, like "jsp.error.attr.quoted" and "jsp.error.attr.novalue",
but no "jsp.error.attribute.noequal".
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>