• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot retrieve mapping for action

 
Marcus Bowden
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

I'm very new to struts and I'm having a problem calling the proper action from my config file. Any help would be greatly appreciated!

Here's what I'm getting:



My config file (struts-config-handsfree.xml):



The entry in my web.xml file for this config file :



And finally, a portion of my jsp that is trying to fire the action "/userRegister":



My colleagues are telling me that there might be a spelling or case difference between the jsp form action and the action path in the config file but ive tried to fix this and i still get the "Cannot retrieve mapping for action /userRegister" error.

Any help would be greatly appreciated. Thank you in advance for your time!
 
Ankit Garg
Sheriff
Posts: 9528
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this in your web.xml instead of what you are doing



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic