Hello all,

I'm getting the following error when I want to change the language of
my webapp. I searched the archives and google, but can't really find
anything that helps me. I get the following error:

javax.servlet.ServletException: Can't find bundle for base name
application, locale en_US

I have the following line in struts-config.xml:

            <message-resources parameter="java.resources.application" />

There are in /mywebapp/WEB-INF/classes/java/resources the following files:
application.properties
application_en.properties (exact copy of application.properties)
application_nl.properties

The code that generates the error is:

public ActionForward execute(ActionMapping mapping, ActionForm form,
                        HttpServletRequest request, HttpServletResponse response) 
throws
IOException, ServletException {
                ResourceBundle bundle = ResourceBundle.getBundle("application");

Thank you for any help.

Ian.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to