File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlet with tomcat4.1.27 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet with tomcat4.1.27" Watch "Servlet with tomcat4.1.27" New topic
Author

Servlet with tomcat4.1.27

Brian Smith
Ranch Hand

Joined: Oct 26, 2002
Posts: 232
hi folks,
i just installed tomcat4.1.27 and tried running a simple servlet. is it true that this version of tomcat requires to configure url-mapping then only servlet can run?
thanks.
Gayathri Prasad
Ranch Hand

Joined: Jun 25, 2003
Posts: 116
Hi,
Put ur servlet class files in Apache Group\Tomcat 4.1\webapps\examples\WEB-INF\classes.
Cheers,
Gaya3
Allan Wang
Greenhorn

Joined: Apr 23, 2001
Posts: 20
Hi,
I use Tomcat 4.0. I think there shouldn't be big difference between these.
I think you needn't configure servlet-mapping, if you want to test your servlet. You can access your servlet via http://yourhost/context-name/servlet/yourservletname.
hope it helps.
allan
[ September 08, 2003: Message edited by: Allan Wang ]
[ September 08, 2003: Message edited by: Allan Wang ]
 
wood burning stoves
 
subject: Servlet with tomcat4.1.27