You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by suhas <su...@techmas.hcltech.com> on 2000/07/03 13:08:47 UTC

Re: Help with Resources !!

Dunno . but u can try this.

check ur application's web-inf/lib folder . should have struts.jar in it

Then do not set any classpath to struts.jar using "set classpath = "
explicitely .
that's what I read in mailing list before

Check this out

Suhas





----- Original Message -----
From: Debasish Ghosh <gh...@yahoo.com>
To: <st...@jakarta.apache.org>
Cc: <qu...@sdcgrp.com>
Sent: Tuesday, July 03, 2001 7:05 AM
Subject: Re: Help with Resources !!


> Yes, it is there. Actually I am trying to run the
> struts-example application that came with Struts. I
> checked that the ApplicationResources file is in
> proper place and contains the key : index.title.
>
> I am running on Windows NT. Actually I looked up the
> mail archive and found a similar problem faced by a
> Windows 2000 user. No solution to this problem was
> posted in the thread.
>
> --- Pham Thanh Quan <qu...@sdcgrp.com> wrote:
> > Whether there is the key index.title in your
> > ApplicationResources file or
> > not ?
> >
> > ----- Original Message -----
> > From: Debasish Ghosh <gh...@yahoo.com>
> > To: <st...@jakarta.apache.org>
> > Sent: Tuesday, July 03, 2001 11:17 AM
> > Subject: Help with Resources !!
> >
> >
> > > Hello All -
> > >
> > > I am new to Struts and trying to run the Struts
> > > example applications. When I am starting Tomcat,
> > > everything loads fine (as found in the
> > > $TOMCAT_HOME/logs/servlet.log file). In fact the
> > > following gets logged in the file :
> > >
> > > 2001-07-02 08:38:46 - path="/struts-example" :jsp:
> > > init
> > > 2001-07-02 08:38:46 - path="/struts-example"
> > > :database: init
> > > 2001-07-02 08:38:46 - path="/struts-example"
> > > :database: Initializing database servlet
> > > 2001-07-02 08:38:46 - path="/struts-example"
> > > :database: Loading database from
> > > '/WEB-INF/database.xml'
> > > 2001-07-02 08:38:46 - path="/struts-example"
> > :action:
> > > init
> > > 2001-07-02 08:38:46 - path="/struts-example"
> > :action:
> > > Loading application resources from resource
> > > org.apache.struts.example.ApplicationResources
> > > 2001-07-02 08:38:46 - path="/struts-example"
> > :action:
> > > Initializing configuration from resource path
> > > /WEB-INF/struts-config.xml
> > > 2001-07-02 08:38:46 - path="/struts-example"
> > :action:
> > > Process servletName=action, urlPattern=*.do
> > > 2001-07-02 08:38:46 - path="/struts-example"
> > :action:
> > > Mapping for servlet 'action' = '*.do'
> > >
> > > But when I try to run the application in
> > > struts-example, I get the following error :
> > >
> > > javax.servlet.ServletException: Missing message
> > for
> > > key index.title
> > >
> > > But the ApplicationResources file is in proper
> > place,
> > > as given in the configuration files.
> > >
> > > Any help will be appreciated.
> > >
> > > Cheers.
> > >
> > > - Debasish
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo! Mail
> > > http://personal.mail.yahoo.com/
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/