tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul" <paul.bras...@roadrunner.uk.com>
Subject Re: Tomcat 4 with JSP
Date Thu, 27 Sep 2001 10:48:04 GMT

here is relevant httpd.conf.....

WebAppConnection conn warp localhost:8009
NameVirtualHost 193.133.123.162


<VirtualHost 193.133.123.162>
ServerName pan.web.roadrunner.uk.com
DocumentRoot /usr/local/apache/pan.web.roadrunner.uk.com/htdocs
WebAppDeploy ct conn /ct/
WebAppDeploy b2b conn /b2b/
WebAppDeploy logon conn /logon/
WebAppDeploy wh conn /wh/
WebAppDeploy edi conn /edi/
</VirtualHost>


here is relevent server.xml


      <Host name="pan.web.roadrunner.uk.com" debug="1" appBase="webapps">

        <Context path="" docBase="ROOT" debug="0"/>
        <Context path="/ct" docBase="ct" debug="1" crossContext="true"
reloadabl
e="true">
        </Context>
        <Context path="/b2b" docBase="b2b" debug="1" crossContext="true"
reloada
ble="true">
        </Context>
        <Context path="/logon" docBase="logon" debug="1" crossContext="true"
rel
oadable="true">
        </Context>
        <Context path="/wh" docBase="wh" debug="1" crossContext="true"
reloadabl
e="true">
        </Context>

      </Host>

    </Engine>

  </Service>

</Server>


I have five seperate contexts........,

I then place my jsp pages in

TOMCAT_HOME/webapps/ct/*.jsp for example

then the page pan.web.roadrunner.uk.com/ct/*.jsp will retreive the jsp page.







----- Original Message -----
From: "Adam: Kurzawa" <adam@optymalni.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, September 27, 2001 8:11 AM
Subject: Tomcat 4 with JSP


>
> So, nobody here knows how to use Apache + Tomcat 4 with JSP?  Is it even
> possible?
>
> Like everyone knows, JSP files should be stored on the Apache server
> along with all other static content.  I haven't been able to figure out
> how to convince Apache to cooperate with Tomcat 4 for execution of JSP
> files.
>
> I have no problems with normal servlets, which are served from SPECIAL
> directores and can be easily defined in httpd.conf by:
>
> WebApp Deplay    servlet conn /servlet/
>
> Kind regards,
> Adam: Kurzawa
>


Mime
View raw message