OK, I got it working.... it seems you know HAVE to
specify the resouces in the struts configuration as

<message-resources parameter="ApplicationResources"/>

and not in the web.xml anymore as a parameter to the
action servlet.

Might be helpful to other people.

Charl



parameter="com.systemmobile.example.ApplicationResources"/>

 --- Charl Gerber <[EMAIL PROTECTED]> wrote: 
> The file is definitely there:
> 
> ApplicationResources.properties
> in my WEB-INF/classes, configured as:
> 
>   <servlet>
>     <servlet-name>action</servlet-name>
>    
>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>     <init-param>
>       <param-name>application</param-name>
>      
> <param-value>ApplicationResources</param-value>
>     </init-param>
>     <init-param>
>       <param-name>config</param-name>
>      
> <param-value>/WEB-INF/conf/struts.xml</param-value>
>     </init-param>
>     <init-param>
>       <param-name>debug</param-name>
>       <param-value>2</param-value>
>     </init-param>
>     <load-on-startup>2</load-on-startup>
>   </servlet>
> 
> Any other ideas?
> 
> 
> 
>  --- "Carl F. Hall" <[EMAIL PROTECTED]> wrote: 
> > I had this problem when I didn't have a message
> > resources file.  I don't use
> > one currently so I had to create a blank file then
> > reference it in my
> > struts-config file.
> > 
> > Hope this helps. 
> > 
> > -----Original Message-----
> > From: Charl Gerber [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, October 25, 2004 3:02 PM
> > To: Struts Users Mailing List
> > Subject: Cannot find message resources under key
> > org.apache.struts.action.MESSAGE
> > 
> > I've upgraded from Struts 1.1 to 1.2.4. The only
> > changes are the new jars and ActionError has been
> > replaced by ActionMessage. Nothing else. Now I get
> > the
> > exception:
> > 
> > Cannot find message resources under key
> > org.apache.struts.action.MESSAGE
> > 
> > I read it might have something to do with xml
> > parsers,
> > but I have made sure that only xerces 2.6.2 is in
> my
> > WEB-INF/lib.
> > 
> > Any other ideas what this could be?
> > 
> > Thanks.
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> >  
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
>  

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

Reply via email to