• 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

Struts 2 There is no Action mapped for namespace [/] and action name

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am new to Struts and I am trying to do this database access example from this website http://www.tutorialspoint.com/struts_2/struts_database_access.htm. When I run the project I can load the login page but once I enter user ID and password it gives me this error: "There is no Action mapped for namespace [/] and action name". I am using the latest version of Tomcat, Eclipse and Struts2. I have tried many different solutions that I found in this forum to this issue, but still no luck. I created the project as a dynamic web project and added the struts libraries under properties>deployment assembly. I also tried to export the project as war manually and upload it to Tomcat with same error. At this point I do not know what else to try to fix this issue. I would appreciate any help.

Thanks.
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dont knw much about struts...
but you can try this in struts.xml

 
Ranch Hand
Posts: 72
Hibernate Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Create classes directory under. WEB-INF directory. Move your struts.xml into classes. Directory .. it may help you.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic