• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot retrieve mapping for action

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this in your web.xml instead of what you are doing



 
reply
    Bookmark Topic Watch Topic
  • New Topic