Get a parser.jar and jaxp.jar and put those in WEB-INF/lib -
Struts doesn't include them, and Tomcat 4 uses a different
classloader.

Optionally, you could put them in /lib.

Will Stranathan

On Thu, 30 Aug 2001 10:28:32 -0700 (PDT)
 "Ian Kallen <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> wrote:
> 
> Does this mean that TC 4.0b7's web.xml parsing is not
> backwards 
> compatible to the older webapp format?  This sounds like
> a bug, not a
> feature.  I'm using a webapp that just "runs" dropped
> into a TC 3.2.x
> installation straight out of the struts distribution.
> 
> On Wed, 29 Aug 2001, Thinh Doan wrote:
> 
> > I got this same error running under Jrun.  Look into
> web.xml and make sure
> > struts stuff is there (tlds etc..)
> > 
> > T.
> > 
> > -----Original Message-----
> > From: Ian Kallen <[EMAIL PROTECTED]>
> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 29, 2001 4:17 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 4.0b7 and struts-example webapp
> > 
> > 
> > 
> > IIRC, the struts-example from struts 1.0 was happy with
> most of the recent
> > Tomcat 3.2.x releases but with 4.0b7, it's not picking
> up the
> > ApplicationResources.properties file.  yes, it's in
> > /struts-example/WEB-INF/classes/org/apache/struts/webapp/example/Application
> > Resources.properties
> > and web.xml has:
> >     <servlet-name>action</servlet-name>
> >     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> >     <init-param>
> >       <param-name>application</param-name>
> > 
> > <param-value>org.apache.struts.webapp.example.ApplicationResources</param-va
> > lue>
> >     </init-param>
> > right out of the war file...
> > 
> > This is the error:
> > javax.servlet.ServletException: Cannot find message
> resources under key
> > org.apache.struts.action.MESSAGE
> > 
> > So what's up?  Is there something extra to setup the
> classpaths inside
> > webapps under Tomcat 4.0?
> > 
> > cheers,
> > -Ian
> > 
> > --
> > Ian Kallen <[EMAIL PROTECTED]> | AIM: iankallen
> > 
> > 
> > 
> 
> cheers,
> -Ian
> 
> --
> Ian Kallen <[EMAIL PROTECTED]> | AIM: iankallen
> 

Reply via email to