• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTP Status 404 - Servlet action is not available

 
Bill Zelan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys I need urgent help..
I'm getting this error:



struts-config.xml

AddUserForm.java

AddUserAction.java


I have also created a JSP page named Register.jsp and its submit button directs to addUser.do

What should i do to correct this error?
 
Ankit Garg
Sheriff
Posts: 9597
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bill, can you show us your web.xml. Also I hope there is a closing </struts-config> tag in your struts-config.xml file. Also have you included the struts jar files in your application??
 
Bill Zelan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ankit Garg for atleast looking into my quetion.
I figured it out sorry for troubling.
The problem was in

it should be

and i even replaced '\' backslashes with '/' slash in action tag in struts config.
Thank you again.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!