• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

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

 
Ranch Hand
Posts: 53
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 80763
488
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Discussion added to our Struts forum.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 80763
488
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SD: Welcome to the Ranch

Is this the same question as previously?
reply
    Bookmark Topic Watch Topic
  • New Topic