While debugging this problem it's easy to overlook the fact that 
struts-config.xml is loaded when the web server boots for the first 
time. I have come across many cases where the fix is put into 
struts-config.xml file but the server is not restarted; hence the old 
result shows up and the user believes that the solution didn't work. 
All I am saying is while testing do restart the web server.

- walk rustin.


--- In [EMAIL PROTECTED], Mario St-Gelais <[EMAIL PROTECTED]> 
wrote:
> Ramil Mirhasanov wrote:
> 
> >I have chosen the problem like this, after surfing net  a little 
bit,
> >I added :
> >
> ><servlet>
> >  <servlet-name>action</servlet-name>
> >  <servlet-class>org.apache.struts.action.
ActionServlet</servlet-class>
> >     <init-param>
> >       <param-name>application</param-name>
> >       <param-value>mypackage.ApplicationResources</param-value>
> >     </init-param>
> >  <.../>
> ></servlet>
> >to web.xml
> >
> >And created  mypackage.ApplicationResources.properties file.
> >  
> >
> >
> 
>---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >  
> >
> I have the exact same problem.  In my web.xml, I use :
>   <servlet>
>     <servlet-name>action</servlet-name>
>     <servlet-class>org.apache.struts.action.
ActionServlet</servlet-class>
>     <init-param>
>       <param-name>config</param-name>
>       <param-value>/WEB-INF/config/struts-config.xml</param-value>
>     </init-param>
>     <init-param>
>         <param-name>application</param-name>
>         
> <param-value>ca.ulaval.fsa.drdb.struts12.resources.
ApplicationResources</param-value>
>     </init-param>
> 
> And in struts-config.xml I got :
> 
> <message-resources
>     parameter="ca.ulaval.fsa.drdb.struts12.resources.
ApplicationResources"/>
> 
> But still I get the same error messge.  The file exists in the above 
> parameter definition.  I am puzzled!!!!!
> 
> -- 
> _________________
> Mario St-Gelais
> www.gestionti.com
> "Good judgment comes from
> experience- usually experience
> which was the result of poor judgment"
> Bill Putnam
> 
> 
> 
> 
---------------------------------------------------------------------
> 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