Yes my property file is located there.
Cheers Chuckie.

Peter Alfors wrote:
> 
> Is your property file then located here ?
> 
>     WEB-INF/classes/helloword/HelloWorldResources.properties
> 
> Pete
> 
> Chuck Amadi wrote:
> 
> > Hi , in my wem.xml i have the following defined for the apllication
> > init-param.
> >
> >        <init-param>
> >           <param-name>application</param-name>
> >             <param-value>helloworld.HelloWorldResources</param-value>
> >                </init-param>
> >                   <load-on-startup>1</load-on-startup>
> >                    </servlet>
> >
> > Tried the second option previously and again no joy.
> > The first option can i drag & drop into the classes .jar the property
> > file as all my jar's are in my WEB-INF/lib dir.
> >
> > Cheers Chuck
> >
> > Peter Alfors wrote:
> > >
> > > 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 dilwch bob copi.
> >
> > --
> > 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 dilwch bob copi.

-- 
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