File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Hosting my Application on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Hosting my Application on Tomcat" Watch "Hosting my Application on Tomcat" New topic

Hosting my Application on Tomcat

hargurjit malhi

Joined: Dec 11, 2001
Posts: 1
Actually I want to place an XmlRpc implementation on the Tomcat.
I have a servlet that makes use of a number of classes.
Could Anybody tell me how should I go about packaging my classes and the servlet and then place it on the Tomcat.
As of now I have simply placed my servlet and the class it uses in the /webapps/examples/Web-inf/classes directory of the tomcat server.
But this is not right for me.....I wanna have my own docbase and context path..
Please help.....and where all do i need to make entries for this.....

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17416

Set it up in server.xml. The exact process depends on whether you are using Tomcat 3 or Tomcat 4. In either case, look at the Tomcat docs on the website for the appropriate Tomcat version. They provide clear examples.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Hosting my Application on Tomcat
It's not a secret anymore!