• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HF Servlets & JSPs p90 Http Status 404 error

 
J Chandler
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I keep getting a 404 error - (The requested resource (/result.jsp) is not available) - when I run version 3 of the BeerSelect.java servlet...

via localhost:8080/Beer-v1/form.html in the browser

I think my servlet code is ok, as there is obviously an attempt being made to find result.jsp in order to send the request and response objects to it.

result.jsp is situated in:
MyProjects/beerV1/web/result.jsp
and
tomcat/web-apps/Beer-v1/WEB-INF/result.jsp

Any ideas?

regards, J


[ September 23, 2004: Message edited by: J Chandler ]
[ September 23, 2004: Message edited by: J Chandler ]
 
Bert Bates
author
Sheriff
Posts: 8905
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may sound trivial, but sometimes it's easy to forget to shutdown and restart tomcat after you've deployed new components...
 
J Chandler
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Bert,

tried what you suggested and still got the error...

I deleted the jsp file and started over... now everything's ok!

Thanks for your time

Onward and upward!
J
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic