• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTTP Status 404 - There is no Action mapped for namespace / and action name register.

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello i am working on one web application in that i have created login.jsp page and it will check the correct login name and password from database and if it is wrong then it shows the error page.
In the same jsp page i want to implement registration functionality,i.e when user clicks on register button it shows the registration page i have created the register button on login.jsp page but when user clicks on this button then it shows the error

HTTP Status 404 - There is no Action mapped for namespace / and action name register.

the action redirection flow in my application's struts.xml is

LoginAction.java


UserRegistrationAction

index.jsp

parentRegistration

I have googling much on this problem also refer this http://www.simplecodestuffs.com/action-chaining-and-action-redirect-in-struts-xmlstruts-2/
article but i don't understand why this error coming
thanks in advance
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please Use Code Tags
I think your problem has to do with this.
 
When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic