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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9189
    
    2

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: HTTP Status 404 - Servlet action is not available
 
Similar Threads
Doubt in Action Form
The constructor ActionError(String) is deprecated"!!
Error: creating bean of class (HELP THE NEWBE)
ActionError
Struts Message resources