tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Cruz" <>
Subject RE: Define the /var/www to serve .jsp ?
Date Tue, 19 Jun 2001 14:34:40 GMT
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.

  -----Original Message-----
  From: Sam Newman []
  Sent: Tuesday, June 19, 2001 9:25 AM
  Subject: Re: Define the /var/www to serve .jsp ?

  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.

  ----- Original Message -----
    From: Dino Ming
    To: TomCat User
    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 ?


View raw message