File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes error message with default language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "error message with default language" Watch "error message with default language" New topic

error message with default language

Shrek NT

Joined: Sep 13, 2005
Posts: 4
Hi all,
I building a small multilanguage web app with struts, all <fmt:message/> tags are playing well, but <html:errors/> tag always show the error message with the default language(En). how can I do to let it show the language as the <fmt:message/> tag. I place <fmt:setLocale value="<%=localeVal%>"/> on the top of jsp page, localeVal is got from session.

Thanks very muach for Help,
[ June 07, 2006: Message edited by: Shrek NT ]
I agree. Here's the link:
subject: error message with default language
It's not a secret anymore!