aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 12869
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.
Don't get me started about those stupid light bulbs.
subject: Problem in deploying servlet in tomcat