File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Problem in deploying servlet in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem in deploying servlet in tomcat" Watch "Problem in deploying servlet in tomcat" New topic

Problem in deploying servlet in tomcat

Brave heart

Joined: Aug 11, 2004
Posts: 1
Hi all,
Im having a problem in deploying servlet in tomcat. Im using tomcat 4.I compiled the servlet and put them in web-inf\classes folder.also i wrote the web.xml spicifying the servlet name, class and mappin. But im getting the 404 error. I tried a lot.can u give me any solution for this, Thanx
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12821
This is a common problem - browse in the last few weeks of posts.
According to my magic 8-ball, you need to put your class in a package, but the 8-ball has not been too reliable lately.
You might also read
the invoker servlet FAQ here at the ranch.
I agree. Here's the link:
subject: Problem in deploying servlet in tomcat