In your web.xml, what do you have defined for the application init-param?
where is your properties file located?

You have a couple of options:
You could place the properties file in your classes jar (in the appropriate
directory structure)
or you can place it in the WEB-INF/classes directory (within the appropriate
directory structure specified in the application init-param).

Pete

Chuck Amadi wrote:

> Hi , can anyone work out this one i have followed the correct procedures
> albeit i am missing somthing. (bbnpa the name of my application)
>
> My path C:\jakarta-tomcat\webapps\bbnpa\helloworld\hello.jsp
> 1) declared directives.
> 2) created property file.
> 3) created web.xml file.
> 4)Copied all necessary .tld to /helloworld/WEB-INF/
> 5)Copied all necessary .jar's to /WEB-INF/lib
> 6)Copied and deployed the struts-trailmap war's to /bbnpa/ my app's dir.
>
> Wats left error below
>
> Error: 500
> Location: /bbnpa/helloworld/hello.jsp
> Internal Servlet Error:
>
> javax.servlet.ServletException: Cannot find message resources under key
> org.apache.struts.action.MESSAGE
>
> Cheers Chuck.
>
> --
> The views expressed by the sender of this message don't
> necessarily represent those of Brecon Beacons National Park
> Authority. This message is intended for the addressee(s) only
> and is sent in confidence; if you receive it in error, please can you
> let us know (at [EMAIL PROTECTED]) and then destroy all copies.
> Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> mewn camgymeriad, a fyddech gystal � rhoi gwybod i
> ni (yn [EMAIL PROTECTED]) ac yna dil�wch bob copi.

Reply via email to