File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts- There is no Action mapped for namespace [/] and action name [login] associated with context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts- There is no Action mapped for namespace [/] and action name [login] associated with context " Watch "Struts- There is no Action mapped for namespace [/] and action name [login] associated with context " New topic
Author

Struts- There is no Action mapped for namespace [/] and action name [login] associated with context

vinod nath
Greenhorn

Joined: Dec 30, 2012
Posts: 1
Hi, I have just started to learn struts. I am getting the below error when i run a login example. Please help me. spent hours trying to fix but no go.


1. StrutsLogin.java


2. Login.jsp


3. web.xml


4. struts-config.xml


5. struts.xml


struts.xml is for another program which works fine. but Login doesnt work. when i enter username and password and hit on submit it throws the below error.

Error:

Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1085
    
  10

Hi Vinod,
Welcome to the Ranch!

We have several forums here and we have one specifically for Struts. I think you will get better/faster responses if you post in the right forum, so, I have moved this post to the Struts forum.

Also, please UseCodeTags (<--link) when posting code. I have added this for you this time.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts- There is no Action mapped for namespace [/] and action name [login] associated with context