• Post Reply Bookmark Topic Watch Topic
  • New Topic

404 Error - running servlet on tomcat4.0.1  RSS feed

suresh pillai
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Iam trying to run the first example in SCWCD book by deshmukh.
Iam getting error 404 with message that
---The requested resource (/chapter01/servlet/HelloWorldServlet) is not available.
The default tomcat page gets loaded correctly. So if the tomcat is able to load the default page when I type in URL :-http://localhost:8080/index.html
Why is it not running my chapter01 example. Did any one face this problem.
I even downloaded the example from the jdiscuss.com which had additional lines in the web.xml file which were for URL mapping.
Right now the directory structure is:-
Please advice me if Iam doing anything wrong.
thanks in advance
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!