Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Needed New to Tomcat

 
priyankaak samiksha
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried to run examples from HanuMant DeshMukh Book
I just copied chapter01 directory from the CD and placed it under webapps directory.
when I typed the URL http://localhost:8080/chapter01/servlet/HelloWorldServlet it displays HelloWorld.
But when I created my own directory chap1 under webapps and copied the same contents in chapter01 directory i got 404 error. Can any one help what could be the problem. I checked the web.xml url mapping. but the path is ok.
[ March 12, 2004: Message edited by: priyankaak samiksha ]
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
prove to us the mapping is ok.

show what your directory structure looks like, what (relevant) entries are in web.xml, and how are you calling the servlet?

Also, you know about the Invoker Servlet ?
 
N Nanda
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The 404 error simply means that the resources are not available. That means the contents in web.xml is not working for directory you have created. Moreover you have not written which version of Tomcat you are using. anyway for Configuration of tomcat for your own context, read the documents in the site
http://sit.iitkgp.ernet.in/~nnanda/config.html
or mail me at Niranjan.Nanda@sit.iitkgp.ernet.in
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic