Hi,
Try to take all original *.xml files and ADD your new stuff, do not remove anything. 
Check if you have
struts.jar file under .../tomcat/webapps/your_new_app/WEB-INF/lib directory and 
struts*.tld files under
this WEB-INF.
Maya

Jim Richards wrote:

> > > Sorry about not cutting out the previous messages, but the
> > > discussion is sort-of relevant to what I'm having problems with.
> > > I'm getting
> > >
> > >         javax.servlet.ServletException: Cannot find ActionMappings or 
>ActionFormBeans collection
> > >
> > > I can run the example, and I can run a test page with nothing but
> > > a few tags (eg: <html:html>) but no forms/beans/etc. And I get the
> > > above error. I've checked struts-config.xml.
> > >
> > > I can only think I've missed something.
> > >
> >
> > Have you configured the controller servlet to be <load-on-startup>?  If you do not 
>do this, none of
> > the servlet context attributes created by the controller servlet (including the 
>two mentioned in the
> > exception) will have been created if the first request you submit is to a JSP page.
> >
> > If that's not the issue, what servlet container are you running on.  Some have 
>problems with
> > load-on-startup -- check the installation documentation for platform specific 
>details.
>
> Yes, sorry. I'm using Tomcat 3.2.1 on Solaris, with J2SE 1.3. I have load-on-startup
> set to 1 (and my database container set to 2). I get an odd error when Tomcat starts
> in that it says (and this is from memory, don't have the extact message here) it
> can't load servlet: action. Now I assume this is the action servlet that is the
> struts one in the web.xml. But, it was a cut and paste job with modifications
> from the example web.xml, so I'd expect it to work. The servlet mapping seems
> correct.

Reply via email to