When using tomcat and apache, you simply set up a new document root and mapping within httpd.conf for each webapp you want accessable via Apache. When you run tomcat, it automatically generates the Apache directives required to use Apache and Tomcat together uising mod_jk - look at the file mod_jk.conf-auto. This file is overwritten whenever tomcat is restarted, so don't edit it directly.
For more info check the mod_jk-howto included with the tomcat distro.
 
sam
----- Original Message -----
From: Dino Ming
Sent: Tuesday, June 19, 2001 3:13 PM
Subject: Define the /var/www to serve .jsp ?

Dear All,
 
    Sorry for my stupid question, and I'm new to JSP & Servlet.
 
    Here are my questions.
 
    Is it good to set the Apache's document root to pass .jsp to Tomcat ? Or I need to define a folder under $TOMCAT_HOME/webapps/"my new folder" , and putting all of my .jsp inside ?
   
    It look like Tomcat treat folders inside $TOMCAT_HOME/webapps/ as an application ?
 
Rgds,
Dino

Reply via email to