aspose file tools*
The moose likes Struts and the fly likes Action Mappings error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action Mappings error" Watch "Action Mappings error" New topic
Author

Action Mappings error

Mogalicherla srujan
Greenhorn

Joined: Aug 03, 2006
Posts: 2
i tried strust program basic login program (new 2 struts) it shows an error Actionmappings and FormBean Mappings collections are not found
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This error generally occurs when you try to display a Struts JSP, but the Struts ActionServlet has not been initialized properly.

Check your web.xml file and make sure

<load-on-startup>1</load-on-startup>

is specified in the xml that defines the action servlet.

If this is already there, then check your application server log for errors when the application starts up. Specifiacally, look for XML parsing errors. That's the most common reason for the Action servlet not initializing properly.


Merrill
Consultant, Sima Solutions
 
Consider Paul's rocket mass heater.
 
subject: Action Mappings error