John
At 12:34 PM 13/08/2003 -0500, you wrote:
1.you can specify application.properties file in struts-config.xml as follows:
<message-resources parameter="ApplicationResources" />
2.you can specify application.properties file in web.xml as follows:
<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/struts-config.xml</param-value> </init-param> <init-param> <param-name>application</param-name> <param-value>/ApplicationResources</param-value> </init-param> </servlet>
just i want to curious about which one is better approach,ofcourse both will work fine.
Thanks,
-----Original Message----- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:13 PM To: 'Struts Users Mailing List' Subject: RE: application.properties file location
IMO, struts config. I didn't know you could do it in the web.xml, never had to, works great in the struts config.
-----Original Message----- From: Kommana, Sridhar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:58 PM To: Struts Users Mailing List Subject: RE: application.properties file location
what is the best place to specify application.properties file in either web.xml or struts-config.xml ?
--------------------------------------------------------------------- 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]