struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario St-Gelais <legrimp...@sympatico.ca>
Subject Re: .properties file
Date Thu, 01 Apr 2004 19:22:54 GMT
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: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message