|
You
can just edit %tomcat_home%/conf/server.xml and set the docBase to be wherever
you have your apache files located. You can specify this for each virtual
host you have set up though apache. If you need examples or anything, just
send me an email.
Brandon Cruz Norvax Inc. www.norvax.com
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 -----
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
|