File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes HTTP Status 404 - Servlet action is not available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HTTP Status 404 - Servlet action is not available" Watch "HTTP Status 404 - Servlet action is not available" New topic
Author

HTTP Status 404 - Servlet action is not available

Bill Zelan
Ranch Hand

Joined: Jan 09, 2009
Posts: 46
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

Joined: Aug 03, 2008
Posts: 9291
    
  17

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??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Bill Zelan
Ranch Hand

Joined: Jan 09, 2009
Posts: 46
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.
 
jQuery in Action, 2nd edition
 
subject: HTTP Status 404 - Servlet action is not available
 
Similar Threads
Error: creating bean of class (HELP THE NEWBE)
ActionError
The constructor ActionError(String) is deprecated"!!
Struts Message resources
Doubt in Action Form