• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

http status 404 resource not found

 
navalk joshi
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What URL are you using that gives the 404 error?
 
navalk joshi
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you accessing your application?
What is the URL that you are entering in your browser?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic