File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes bean:write formatKey tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "bean:write formatKey tag" Watch "bean:write formatKey tag" New topic

bean:write formatKey tag

Ilja Smoli
Ranch Hand

Joined: Dec 02, 2001
Posts: 64
Could you please explain why i get "JspException: Wrong format string: '###,###.00' " when I use <bean:write formatKey="global.format"> when other then "EN" locale is in user's session?

At the same time if use "format" tag <bean:write format="###,###.00"> then no matter what locale is in session it is working fine AND do format according to locale
Thanks in advance
I agree. Here's the link:
subject: bean:write formatKey tag
It's not a secret anymore!