JavaRanch Home
 
Front Page FAQs Ranchers Categories Recent Changes To Do Upload

No Action Mappings   



Cannot find ActionMappings or ActionFormBeans collection

This error occurs when you try to display a JSP before the Struts ActionServlet has been initialized and is active. The causes for this error are usually either:

  1. You faled to speciffy <load-on-startup>2</load-on-startup> for the Struts ActionServlet in your web.xml file or
  2. You did specify the above, but the Struts ActionServlet didn't initialize properly because of an error. Check the log file entries for the time period when the Server first starts up to see if it initialized properly.

When the Struts ActionServlet throws an exception while initializing, the most likely cause is that it was unable to parse the XML in your struts-config.xml file either because it's malformed, or it doesn't follow the DTD. If you look at the log file entries that occur when the server is first starting, sometimes you will find an error message telling you specifically what's wrong with the config file and also telling you the line number in the file where the error occurs.



Return to StrutsFaq
Front Page FAQs Ranchers Categories Recent Changes To Do Upload
Last Edited: 31 March 2007 What's Changed?
 
Copyright © 1998-2008 Paul Wheaton | Home | Contact Us | Privacy | Register