The bit you're looking for is in web.xml,
<init-param> <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param>
This means your ApplicationResources.properties is in:
/WEB-INF/classes/ApplicationResources.properties
were it the case that you wanted things different like
/WEB-INF/classes/com.sparrow.myapp.ApplicationResources.properties
then
<init-param> <param-name>application</param-name> <param-value>com.sparrow.myapp.ApplicationResources</param-value> </init-param>
Usually properties files would live with your source, so as far as putting them anywhere is concerned you'd usually have them where you source code is.
~/Projects/myapp/src/java/com/sparrow/myapp/ ApplicationResources.properties
or
~/Projects/myapp/src/java/ApplicationResources.properties
And they are copied with everything else when you build your project.
Cheers Mark
On Monday, September 15, 2003, at 04:56 PM, Mariano García wrote:
Hi all,
Where I have to put property files? I am using Tomcat and Struts. I suppose
I have to put them in WEB-INF directory, but my application cannot find
them. Maybe I have to add something in struts-config.xml
Could you help me, please?
_____
Mariano García
Ingeniero de Sistemas Optiva Media Viriato,25 - 28010 Madrid - España t. +34 91 445 96 95 m. +34 651 03 33 86
© This message is printed on 100% recycled electrons.
--------------------------------------------------------------------- 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]