File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes deploying Servlets in Apache (w/ Tomcat plug-in) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "deploying Servlets in Apache (w/ Tomcat plug-in)" Watch "deploying Servlets in Apache (w/ Tomcat plug-in)" New topic

deploying Servlets in Apache (w/ Tomcat plug-in)

Jeffrey Hunter
Ranch Hand

Joined: Apr 16, 2004
Posts: 305
Hi All,
I'm used to deploying my web apps in Tomcat stand-alone, by deploying the app to the webapps directory. Simple enough.

I am now working on a system that uses an Apache web server, with the Tomcat plug-in to support JSP/Servlets.

I'm finding that it is not as straightforward to deploy my apps anymore. Does anyone have any suggestions, as far as deploying a simple HelloWorld Servlet? Any good links?

Say my Servlet is called HelloWorldServlet.
The page, hello_world.jsp has a form, which submits to this servlet.

The hello_world.jsp file is on the Apache web server at var/www/html.
Where will I put the Servlet?

Thanks for any help!
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

You're going to have to ask your provider for details on the how and where. Hosted solutions vary greatly in the details of how to get servlets/jsp running.
I agree. Here's the link:
subject: deploying Servlets in Apache (w/ Tomcat plug-in)
It's not a secret anymore!