This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
 
subject: Action Mappings error
 
Similar Threads
could not read mapping from resource
problem while invoking jaxrpc web service from java client
Repeated column in mapping for entity: insert="false" update="false'
struts error
Transfering to POJO