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

bean:message bug

           Summary: bean:message bug
           Product: Struts
           Version: 1.1 Beta 1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I use <bean:message key="label.test"/>, It will generate exception like 
this:

java.lang.IllegalArgumentException: Unmatched braces in the pattern.
        at java.text.MessageFormat.applyPattern(MessageFormat.java:464)
        at java.text.MessageFormat.(MessageFormat.java:346)
        at org.apache.struts.util.MessageResources.getMessage
(MessageResources.java:327)
        at org.apache.struts.util.RequestUtils.message(RequestUtils.java:808)
        at org.apache.struts.taglib.bean.MessageTag.doStartTag
(MessageTag.java:295)
        at org.apache.jsp.login$jsp._jspService(login$jsp.java:205)

In the properties files:
label.test=Hello {

When I use MessageResources.getMessage(), it do not produce such error.

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

Reply via email to