wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes http status 404 resource not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "http status 404 resource not found" Watch "http status 404 resource not found" New topic
Author

http status 404 resource not found

navalk joshi
Greenhorn

Joined: May 02, 2012
Posts: 12
am really stuck with the code.....seems to be alright but i really don't know why it doesn't work......so is there anybody who can help
my jsp code is as follows




servlet is as follows



web xml is as follows


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

What URL are you using that gives the 404 error?


JBoss In Action
navalk joshi
Greenhorn

Joined: May 02, 2012
Posts: 12
Hi Peter ....currently i have used both i.e.action=/AddContactServlet and action=AddContactServlet url in the action of the jsp and none have benn working properly......
Sumit Patil
Ranch Hand

Joined: May 25, 2009
Posts: 296

How are you accessing your application?
What is the URL that you are entering in your browser?


Thanks & Regards, Sumeet
SCJP 1.4, SCWCD 5, LinkedIn Profile
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

So you are saying that the form defined in the JSP you posted is displayed correctly, you fill in the form and click the Register button, and then you get the 404?
navalk joshi
Greenhorn

Joined: May 02, 2012
Posts: 12
i am accessing my application through the glassfish v3 server but i think its not working properly.......
and yes the jsp page posted is displayed correctly.....and after clicking register it says http status 404 resource not available.......
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: http status 404 resource not found
 
Similar Threads
Servlet not able to retrieve the values from jsp form
please any one cleare my error
send variable value from one servlet to another servlet for itext pdf
Servlet Initialization Parameters
prepared statement is not working according to if condition