my resources file has always been under the WEB-INF/classes folder, but i
only have this problem with Tomcat 4.0.  Tomcat 3.x works fine.

jb

----- Original Message -----
From: "Melissa Rabin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 11:47 AM
Subject: RE: Error: org.apache.struts.action.MESSAGE


> The Struts User-Guide specifies: "The important thing is for the resource
> bundle to be found on the class path for your application. "  So, just
like
> a call to a struts class in a web-app will need to be referenced under the
> WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
> directory, you also need to have a root-relative path for any Application
> Resources.  I place mine in the WEB-INF/classes folder as that is
> automatically referenced by my web container.  Ant can be told to copy
that
> file to the classes directory (as it isn't compiled), so that every time
you
> rebuild your application your
> resource file will be copied into the classes dir.
>
> Hope this helps
>
> Melissa
> Web Engineer


Reply via email to