RE: Help with Resources !!

2001-07-04 Thread Keith Bacon

I also had index.title not found  ClassNotFoundException occurring
in struts-example  other webapps (Windows 98, Tomcat3.2.2,
struts-1.0-b3).
My Action  Form classes weren't found by struts but I could
instantiate them directly in a JSP. Does this imply that when a class
is loaded from java code in a JSP the class loading is different than
when loaded by the struts action servlet?

http://www.husted.com/about/struts/kickstart.html#jar
explains about classpath  struts.jar (lots of other useful stuff
there too). After conforming to this I still had the problems.

After experiments the problem cleared. I suspect the solution was
that I shutdown Tomcat, deleted the webapps/struts-stub directory 
webapps/struts-stub.war  restarted Tomcat.

Sorry I haven't spent the time to prove this but any-one else with
these problems could try it. 

Keith


--- Jyothi Palvai [EMAIL PROTECTED] wrote:
 The struts.jar should contain the property file. This is how I
 fixed
 this problem. And check whether the web.xml has the right path to
 the
 property file.
 
 Jyothi
 
 -Original Message-
 From: suhas [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 03, 2000 4:09 AM
 To: [EMAIL PROTECTED]
 Subject: 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 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 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 [EMAIL PROTECTED] wrote:
   Whether there is the key index.title in your
   ApplicationResources file or
   not ?
  
   - Original Message -
   From: Debasish Ghosh [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   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/
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



RE: Help with Resources !!

2001-07-04 Thread joi

Verify the path to the ApplicationResources.properties file in web.xml
is correct. Solved my problem..

-Original Message-
From: Keith Bacon [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 04, July, 2001 15:26
To: [EMAIL PROTECTED]
Subject: RE: Help with Resources !!


I also had index.title not found  ClassNotFoundException occurring in
struts-example  other webapps (Windows 98, Tomcat3.2.2, struts-1.0-b3).
My Action  Form classes weren't found by struts but I could instantiate
them directly in a JSP. Does this imply that when a class is loaded from
java code in a JSP the class loading is different than when loaded by
the struts action servlet?

http://www.husted.com/about/struts/kickstart.html#jar
explains about classpath  struts.jar (lots of other useful stuff there
too). After conforming to this I still had the problems.

After experiments the problem cleared. I suspect the solution was that I
shutdown Tomcat, deleted the webapps/struts-stub directory 
webapps/struts-stub.war  restarted Tomcat.

Sorry I haven't spent the time to prove this but any-one else with these
problems could try it. 

Keith


--- Jyothi Palvai [EMAIL PROTECTED] wrote:
 The struts.jar should contain the property file. This is how I fixed
 this problem. And check whether the web.xml has the right path to
 the
 property file.
 
 Jyothi
 
 -Original Message-
 From: suhas [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 03, 2000 4:09 AM
 To: [EMAIL PROTECTED]
 Subject: 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 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 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 [EMAIL PROTECTED] wrote:
   Whether there is the key index.title in your ApplicationResources 
   file or not ?
  
   - Original Message -
   From: Debasish Ghosh [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   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/
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




RE: Help with Resources !!

2001-07-04 Thread Debasish Ghosh

Hi -

The problem was that I had struts.jar in the
environment classpath. Once I removed that, restarted
Tomcat, the problem was solved.

Cheers.

- Debasish
--- joi [EMAIL PROTECTED] wrote:
 Verify the path to the
 ApplicationResources.properties file in web.xml
 is correct. Solved my problem..
 
 -Original Message-
 From: Keith Bacon [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, 04, July, 2001 15:26
 To: [EMAIL PROTECTED]
 Subject: RE: Help with Resources !!
 
 
 I also had index.title not found 
 ClassNotFoundException occurring in
 struts-example  other webapps (Windows 98,
 Tomcat3.2.2, struts-1.0-b3).
 My Action  Form classes weren't found by struts but
 I could instantiate
 them directly in a JSP. Does this imply that when a
 class is loaded from
 java code in a JSP the class loading is different
 than when loaded by
 the struts action servlet?
 

http://www.husted.com/about/struts/kickstart.html#jar
 explains about classpath  struts.jar (lots of other
 useful stuff there
 too). After conforming to this I still had the
 problems.
 
 After experiments the problem cleared. I suspect the
 solution was that I
 shutdown Tomcat, deleted the webapps/struts-stub
 directory 
 webapps/struts-stub.war  restarted Tomcat.
 
 Sorry I haven't spent the time to prove this but
 any-one else with these
 problems could try it. 
 
 Keith
 
 
 --- Jyothi Palvai [EMAIL PROTECTED]
 wrote:
  The struts.jar should contain the property file.
 This is how I fixed
  this problem. And check whether the web.xml has
 the right path to
  the
  property file.
  
  Jyothi
  
  -Original Message-
  From: suhas [mailto:[EMAIL PROTECTED]]
  Sent: Monday, July 03, 2000 4:09 AM
  To: [EMAIL PROTECTED]
  Subject: 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 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  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 [EMAIL PROTECTED] wrote:
Whether there is the key index.title in your
 ApplicationResources 
file or not ?
   
- Original Message -
From: Debasish Ghosh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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

RE: Help with Resources !!

2001-07-04 Thread Debasish Ghosh

Hi -

The problem was that I had struts.jar in the
environment classpath. Once I removed that, restarted
Tomcat, the problem was solved.

Cheers.

- Debasish
--- joi [EMAIL PROTECTED] wrote:
 Verify the path to the
 ApplicationResources.properties file in web.xml
 is correct. Solved my problem..
 
 -Original Message-
 From: Keith Bacon [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, 04, July, 2001 15:26
 To: [EMAIL PROTECTED]
 Subject: RE: Help with Resources !!
 
 
 I also had index.title not found 
 ClassNotFoundException occurring in
 struts-example  other webapps (Windows 98,
 Tomcat3.2.2, struts-1.0-b3).
 My Action  Form classes weren't found by struts but
 I could instantiate
 them directly in a JSP. Does this imply that when a
 class is loaded from
 java code in a JSP the class loading is different
 than when loaded by
 the struts action servlet?
 

http://www.husted.com/about/struts/kickstart.html#jar
 explains about classpath  struts.jar (lots of other
 useful stuff there
 too). After conforming to this I still had the
 problems.
 
 After experiments the problem cleared. I suspect the
 solution was that I
 shutdown Tomcat, deleted the webapps/struts-stub
 directory 
 webapps/struts-stub.war  restarted Tomcat.
 
 Sorry I haven't spent the time to prove this but
 any-one else with these
 problems could try it. 
 
 Keith
 
 
 --- Jyothi Palvai [EMAIL PROTECTED]
 wrote:
  The struts.jar should contain the property file.
 This is how I fixed
  this problem. And check whether the web.xml has
 the right path to
  the
  property file.
  
  Jyothi
  
  -Original Message-
  From: suhas [mailto:[EMAIL PROTECTED]]
  Sent: Monday, July 03, 2000 4:09 AM
  To: [EMAIL PROTECTED]
  Subject: 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 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  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 [EMAIL PROTECTED] wrote:
Whether there is the key index.title in your
 ApplicationResources 
file or not ?
   
- Original Message -
From: Debasish Ghosh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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

Re: Help with Resources !!

2001-07-03 Thread suhas

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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] wrote:
  Whether there is the key index.title in your
  ApplicationResources file or
  not ?
 
  - Original Message -
  From: Debasish Ghosh [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  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/




RE: Help with Resources !!

2001-07-03 Thread Jyothi Palvai

The struts.jar should contain the property file. This is how I fixed
this problem. And check whether the web.xml has the right path to the
property file.

Jyothi

-Original Message-
From: suhas [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 03, 2000 4:09 AM
To: [EMAIL PROTECTED]
Subject: 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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] wrote:
  Whether there is the key index.title in your
  ApplicationResources file or
  not ?
 
  - Original Message -
  From: Debasish Ghosh [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  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/




Help with Resources !!

2001-07-02 Thread Debasish Ghosh

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/



Re: Help with Resources !!

2001-07-02 Thread Pham Thanh Quan

Whether there is the key index.title in your ApplicationResources file or
not ?

- Original Message -
From: Debasish Ghosh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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/





Re: Help with Resources !!

2001-07-02 Thread Debasish Ghosh

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 [EMAIL PROTECTED] wrote:
 Whether there is the key index.title in your
 ApplicationResources file or
 not ?
 
 - Original Message -
 From: Debasish Ghosh [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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/