Hi,
I'm using
Struts 1.0.2 with
JBoss 3.2.4. I define the ActionServlet in my web.xml as follows:
<
servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>org.aadpw.pims.actions.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
Also, I have the ApplicationResources.properties file in the /WEB-INF/calsses/org/aadpw/pims/action folder. Still, when I have a validation error it shows null null instead of the error message. Also, if I try to retrieve a message using bean:message, it fires "Missing message for key" exception.
Any thoughts? Your help is appreciated.
Thanks,
salihk