Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action Mappings error

 
Mogalicherla srujan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic