Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Simple Struts2 application error - There is no Action mapped for namespace [/] and action name  RSS feed

 
Ranch Hand
Posts: 37
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my code

Struts.xml :



Action Class :



Web.xml ;




Index Page



the Index page loads fine, but when I click the link in the Index page. i get a 404

There is no Action mapped for namespace [/] and action name [LoginAction] associated with context path [/StrutsApplication]. - [unknown location]


Any ideas ?
 
Marshal
Posts: 64496
225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Discussion added to our Struts forum.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have dome all the code changes as mentioned to be done to add namesapce in the URL but I am still facing the same issue.
Stuck with d same since yesterday.Please reply.


Capture.PNG
[Thumbnail for Capture.PNG]
 
Campbell Ritchie
Marshal
Posts: 64496
225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SD: Welcome to the Ranch

Is this the same question as previously?
 
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!