Re: how can I put jsp files with html files
From: Justin Mencl (jutmencl12_at_hotmail.com)
Date: 02/08/04
- Next message: Russ Tennant: "Re: Simple loop optimization"
- Previous message: Andrew Thompson: "Re: specifying path for file to be read by servlet with Tomcat"
- In reply to: Sudsy: "Re: how can I put jsp files with html files"
- Next in thread: Sudsy: "Re: how can I put jsp files with html files"
- Reply: Sudsy: "Re: how can I put jsp files with html files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 7 Feb 2004 21:43:03 -0800
Sudsy <bitbucket44@hotmail.com> wrote in message news:<402566D7.4070100@hotmail.com>...
> Justin Mencl wrote:
> > I have a RH9 machine running Apache2 and Tomcat 4 with mod_jk.so as a
> > connector. The configuration is running perfectly except for one
> > little nuisance. Apache is serving from /var/www/html and Tomcat is
> > serving from /usr/local/tomcat/webapps/'app'/. The connection between
> > works great for servlets. And the connection works for JSP pages when
> > the JSP pages are in the Tomcat directory. I would like to have the
> > JSP pages located with the rest of the HTML files at /var/www/html.
> >
> > Is there a way to get JSP files in /var/www/html to be served through
> > Apache to Tomcat? Is there a classBase Context param in Tomcats
> > server.xml I can use?
>
> This is handled automagically. My mod_jk.conf file is included in the
> Apache httpd.conf file and forwards all .jsp and .do requests to
> Tomcat. It's a fairly standard configuration, BTW.
Thanks for the repsponse.
Yes, my apache config will pass JSP requests to Tomcat, but Tomcat
will only look in the webapps/ directories for the requests. It will
not look outside to other directories. My question still stands, but
rephrased:
Is there a way to get Tomcat to server JSP pages located outside the
webapps/ directory?
Again, TIA
Justin Mencl
- Next message: Russ Tennant: "Re: Simple loop optimization"
- Previous message: Andrew Thompson: "Re: specifying path for file to be read by servlet with Tomcat"
- In reply to: Sudsy: "Re: how can I put jsp files with html files"
- Next in thread: Sudsy: "Re: how can I put jsp files with html files"
- Reply: Sudsy: "Re: how can I put jsp files with html files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|