Re: how can I put jsp files with html files
From: Sudsy (bitbucket44_at_hotmail.com)
Date: 02/07/04
- Next message: Jon A. Cruz: "Re: visual j++ and javax?"
- Previous message: Justin Mencl: "how can I put jsp files with html files"
- In reply to: Justin Mencl: "how can I put jsp files with html files"
- Next in thread: Justin Mencl: "Re: how can I put jsp files with html files"
- Reply: Justin Mencl: "Re: how can I put jsp files with html files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 07 Feb 2004 17:29:43 -0500
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.
- Next message: Jon A. Cruz: "Re: visual j++ and javax?"
- Previous message: Justin Mencl: "how can I put jsp files with html files"
- In reply to: Justin Mencl: "how can I put jsp files with html files"
- Next in thread: Justin Mencl: "Re: how can I put jsp files with html files"
- Reply: Justin Mencl: "Re: how can I put jsp files with html files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|