Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

"HTTP Status 404" with Tomcat  RSS feed

 
Sim Su
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am newbie in Servlets
I tried running my trial servlet in Tomcat and I get the following error

I have edited the web.xml file with the servlet info... compiled my servlet and when I call the servlet, I get this error. Kindly help

HTTP Status 404 - /myApp/servlet/Testing

--------------------------------------------------------------------------------
type Status report

message /myApp/servlet/Testing

description The requested resource (/myApp/servlet/Testing) is not available.
-------------------------------------------------------------------------------
Apache Tomcat/4.1.31
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably the URL you are trying is not correct. Be sure to read this FAQ on the invoker servlet here at the ranch.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!