• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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

 
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:

 
Bartender
Posts: 1104
10
Netbeans IDE Java 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!