What platform are you running on.  Is this your first time trying STRUTS?

I found that using websphere 3.5 on the os/390 platform, the struts-config had to be 
placed in WEB-INF under the document root.  ie  /web/WEB-INF/

If the file was not there, Struts could not find it.  Other problems I had were making 
sure the file permissions allowed websphere to see the file and directory.



Steven Banks


>>> <[EMAIL PROTECTED]> 05/07/02 11:31AM >>>
Sorry.  Just trying to keep it simple.  I am no expert, but I felt
experienced enough to answer that one! 


 -----Original Message-----
From:   Bill Page [mailto:[EMAIL PROTECTED]] 
Sent:   07 May 2002 15:17
To:     Struts Users Mailing List
Subject:        RE: Cannot find message resources - DESPERATION

You don't have put it under the default. You can add a classpath to the
webapp.properties.
We added an additional path so that we could stick the properties in an area
that we will allow customers to configure while keeping the other stuff
secure:
ex:
webapp.classpath=/WEB-INF/classes;/WEB-INF/lib;/WEB-INF/jsp;/custom/config

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, May 07, 2002 6:33 AM
> To: [EMAIL PROTECTED] 
> Subject: RE: Cannot find message resources - DESPERATION
> 
> 
> Your ApplicationResources file must be referred to as if it 
> were a java
> class.  Remove the /web-inf/ path.  It should be referred to 
> using package
> notation.  Since it is considered to be a java class - it 
> must be put below
> your /web-inf/classes/ directory.  If it is in the classes 
> directory - you
> can refer to it simply as ApplicationResources in your 
> web.xml file.  If it
> is in a package below your classes directory (say mypackage), then put
> mypackage.ApplicationResources in your web.xml.
> 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to