• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
vinod nath
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic