Re: how can I put jsp files with html files

From: Sudsy (bitbucket44_at_hotmail.com)
Date: 02/07/04


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.



Relevant Pages

  • Re: Tomcat 5 with IIS6 using JK2
    ... map requests for all JSP pages to Tomcat. ... in this configuration the shared memory is explicitly set to ... > manual configuration and in retrospect this was probably a bad idea. ... > After failing to get the isapi connector to load, ...
    (comp.lang.java.programmer)
  • Re: Tomcat 5 with IIS6 using JK2
    ... map requests for all JSP pages to Tomcat. ... in this configuration the shared memory is explicitly set to ... > manual configuration and in retrospect this was probably a bad idea. ... > After failing to get the isapi connector to load, ...
    (microsoft.public.inetserver.iis)
  • Re: how can I put jsp files with html files
    ... >> connector. ... >> the JSP pages are in the Tomcat directory. ... It's a fairly standard configuration, ...
    (comp.lang.java.programmer)
  • Re: Tomcat - disable servlet access
    ... After your post I reread the hosting support info regarding jsp. ... ...as JSP angine Tomcat is used, connected through AJP13 connector ... It is not Tomcat that refuses to deliver servlets, ...
    (comp.lang.java.programmer)
  • how can I put jsp files with html files
    ... connector. ... Apache is serving from /var/www/html and Tomcat is ... the JSP pages are in the Tomcat directory. ...
    (comp.lang.java.programmer)