DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29335>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29335

Tomcat is not showing I18N on TagInfo errors

           Summary: Tomcat is not showing I18N on TagInfo errors
           Product: Tomcat 4
           Version: 4.1.30
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,

If I have a TEI that returns false on isValid(), I got the following error when
I try to access the page:

org.apache.jasper.JasperException: /test.jsp(2,0) jsp.error.invalid.attributes

The problem is on the property file
org/apache/jasper/resources/messages.properties inside jasper-runtime.jar, which
have the jsp.error.invalid_attributes (see the _ instead of .). If I extract
that file on TOMCAT_HOME/commmon/classes and edit it, it works fine:

org.apache.jasper.JasperException: /test.jsp(2,0) Attributes are invalid
according to TagInfo

I don't know which class is calling the invalid.attributes properties as a rgrep
 on tomcat-4.0 reported that only TagBeginGenerator is using invalid_attributes:

[EMAIL PROTECTED]/cvs/tomcat/4: rgrep -r jsp.error.invalid.attributes .
./jasper/src/share/org/apache/jasper/compiler/TagBeginGenerator.java:      
Constants.getString("jsp.error.invalid_attributes"));

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

Reply via email to