File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "error message with default language" Watch "error message with default language" New topic
Author

error message with default language

Shrek NT
Greenhorn

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: http://aspose.com/file-tools
 
subject: error message with default language
 
Similar Threads
Strange IllegalArgumentException: No bean specified
Dynamic values for HTML-element attributes
How to avoid question marks in internationalization using JSTL fmt
Expression
Internationalization of web service