jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes deploying a servlet in tomcat 4.1.30 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "deploying a servlet in tomcat 4.1.30" Watch "deploying a servlet in tomcat 4.1.30" New topic
Author

deploying a servlet in tomcat 4.1.30

ahmad seddighi
Greenhorn

Joined: Jun 22, 2004
Posts: 16
Hi dears,
I know how to deploy and test a servlet in tomcat 4.0.27, (just by copying servletname.class file in TOMCAT_HOME/webapps/ROOT/WEB-INF/classes and using http://localhost:8080/servlet/servletname in browser)

but doing this in tomcat 4.1.27 did now worked correctly, does anyone know how can I solve it?

by regars
Ahmad
Balan Raj
Ranch Hand

Joined: Aug 26, 2003
Posts: 74
What do u mean by "did not work correctly" ? Please add more information about the kind of error you got.

By the way, its better to create your deploy in your own application than using the ROOT.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: deploying a servlet in tomcat 4.1.30
 
Similar Threads
tomcat 3.2 and invoking a servlet
Problem accessing servlet through Tomcat 5.0.28
where to put war
How can I deploy and test a servlet in tomcat 4.1.30
avoiding localhost