aspose 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 Soft Skills this week in the Jobs Discussion 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: 9319
    
  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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Status 404 - Servlet action is not available