WEB-INF/classes ...
WEB-INF/classes/resources 

say you have application.properties, configuration.properites

in your web.xml

<servlet>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
....
    <init-param>
        <param-name>application</param-name>
        <param-value>resources.application</param-value>
    </init-param>

    <init-param>
        <param-name>configuration</param-name>
        <param-value>resources.configuration</param-value>
    </init-param>
.....
</servlet>


it knows to look in 
  WEB-INF/classes/resources/application.properties
  WEB-INF/classes/resources/configuration.properties

----- Original Message ----- 
From: "Marco Tedone" <[EMAIL PROTECTED]>
To: "Struts-user-list" <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 2:29 PM
Subject: Re: where I put my property files?


> You have to put it/them under WEB-INF/classes
> 
> Regards,
> 
> Marco
> 
> <!-- ORIGINAL MESSAGE -->
> From: =?iso-8859-1?Q?Mariano_Garc=EDa?= <[EMAIL PROTECTED]>
> 
> 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?
> 
> 
> 
> ---------------------------------------------------------------------
> 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