wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts 2 There is no Action mapped for namespace [/] and action name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 There is no Action mapped for namespace [/] and action name " Watch "Struts 2 There is no Action mapped for namespace [/] and action name " New topic
Author

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

Luis Mateo
Greenhorn

Joined: Jan 13, 2013
Posts: 1
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.
Dipali yadav
Greenhorn

Joined: May 21, 2012
Posts: 22
I dont knw much about struts...
but you can try this in struts.xml

Gopakumar Naryanan
Ranch Hand

Joined: Jan 15, 2011
Posts: 72

Create classes directory under. WEB-INF directory. Move your struts.xml into classes. Directory .. it may help you.


Thanks & Regards
Gopakumar
 
 
subject: Struts 2 There is no Action mapped for namespace [/] and action name