• Post Reply Bookmark Topic Watch Topic
  • New Topic

404 Error - running servlet on tomcat4.0.1

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
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!