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

Comment on Apache and Tomcat !!


Joined: Dec 10, 2001
Posts: 1
Dear All,
I am a beginner of JSP, and now i want to install Apache 4 as the web server and Tomcat as the JSP handler on Win2K platform. Can anyone tell me is this a need to setup both Apache and Tomcat together?
I had read many and many on the Web, and it is suggested to setup both, so pls comment!!!

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

You have to setup a pipeline between the Apache and Tomcat servers. In Tomcat 3, mod_jk or mod_jserve would do it; for Cataline (Tomcat 4) use mod_webapp.
You configure your httpd.conf to use the tomcat pipeline and to indicate what URL requests get passed down the pipeline. The exact details depend on which module you're using.
On the Tomcat side, you set up a listener port(s) to handle the requests coming down the pipeline.
Your best bet is to look at the "Tomcat-Apache How-to" document that goes with the version of Tomcat you want to run. They have good examples.

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