wood burning stoves 2.0*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "bean:write formatKey tag" Watch "bean:write formatKey tag" New topic
Author

bean:write formatKey tag

Ilja Smoli
Ranch Hand

Joined: Dec 02, 2001
Posts: 64
Hi
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
 
Consider Paul's rocket mass heater.
 
subject: bean:write formatKey tag