tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29335] New: - Tomcat is not showing I18N on TagInfo errors
Date Wed, 02 Jun 2004 04:43:02 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: nagoya@felipeal.net


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:

[felipeal@felipeal]~/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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message