You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Peter Alfors <pe...@irista.com> on 2001/06/06 16:06:46 UTC

Re: Q: How to add .props files to web.xml

To specify the application resources, you add the following to your web.xml
file...

    <servlet>
        ...
      <init-param>
        <param-name>application</param-name>
        <param-value>com.myResources.ApplicationResources</param-value>
      </init-param>
        ...
    </servlet>

Pete

Wes Bramhall wrote:

> Sorry for being a complete newbie, but what is the XML for adding this file
> to web.xml?
>
> ApplicationResources.properties
>
> Thanks much,
> -Wes
>
> -----Original Message-----
> From: Manoj Deb [mailto:manoj_d@infy.com]
> Sent: Tuesday, June 05, 2001 10:57 PM
> To: struts-user@jakarta.apache.org
> Subject: RE: More help Plz: Exception thrown processing JSP page...
>
> You can keep it in any dir in web tier, but there should be an entry in
> web.xml.
>
> Rgds,
> Manoj