struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rohit dige <>
Subject Struts Internationalization doesn't work on Linux
Date Sun, 08 Oct 2006 20:10:38 GMT
I need to show a text message on JSP page in browser's
preferred language. I have created multiple language
specific properties files and put them 
 under WEB-INF/classes/config. My JSP and
Struts-config.xml look as following

parameter="config.ApplicationResources" null="false"/>


JSP file

<%@ page contentType=”text/html; charset=UTF-8”
pageEncoding=”UTF-8” %>



<meta http-equiv=”content-type” content=”text-html;


<html:html locale=”true” />
<bean:message key="mykey"/>

It shows text in browser preffered language on
Windows. But on Linux, it  does not load the correct file - it loads the 
default one, instead of one for a locale (regardless
whether it is language only or language and country).
Do we need any extra configuration on Linux to make it
work? Your help is greatly appreciated.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message