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

           Summary: Error messages use the wrong key
           Product: Tomcat 5
           Version: 5.5.9
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


At several places in the code, error messages are referenced by
'jsp.error.useBean', but in the corresponding property-files, 'useBean' is
written all lowercase: 'usebean'. Therefore the error messages are not found:

grep -r "jsp.error.useBean" jakarta-tomcat-jasper/jasper2/
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/BeanRepository.java:
    errDispatcher.jspError(n, "jsp.error.useBean.badScope");
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java:
             err.jspError(n, "jsp.error.useBean.missingType");
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java:
             err.jspError(n, "jsp.error.useBean.duplicate");
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java:
             err.jspError(n, "jsp.error.useBean.noSession");
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Validator.java:
             err.jspError(n, "jsp.error.useBean.notBoth");

but

jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/LocalStrings.properties:jsp.error.usebean.not.both=useBean:
Can't specify both class and beanName attribute:

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to