This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
Decimal Format with DynaFormBean
Error with error:bean formatKey parameter
Displaying Data
Date formats
timestamp display problem