Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 35098 invoked from network); 1 Jun 2000 18:55:18 -0000 Received: from interop.leopard.com (HELO must.interoperate.com) (root@209.38.73.63) by locus.apache.org with SMTP; 1 Jun 2000 18:55:18 -0000 Received: from what.leopard.com (IDENT:zadonick@what.leopard.com [209.38.73.61]) by must.interoperate.com (8.9.3/8.9.3) with SMTP id HAA09820 for ; Thu, 1 Jun 2000 07:12:32 -0600 From: - Reply-To: aaz@webcapacity.com To: tomcat-user@jakarta.apache.org Subject: more jsp help Date: Thu, 1 Jun 2000 12:55:21 -0600 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00060112564609.02429@what.leopard.com> Content-Transfer-Encoding: 8bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi again, I have 2 virtuals and need some help getting this right. I want my JSP to live with all the normal website stuff in my apache document roots, and servlets in the webapp subdirectories. However I am noticing that session vars I set in the JSP pages in the apache docroot are NULL when referenced in the webapp/ tomcat servlets etc. Below is my config. Configuration: In the General apache config AddType text/jsp .jsp AddHandler jserv-servlet .jsp Development: ---------------- apache document root = /docdev ApJServMount /app ajpv12://localhost:8009/appdev tomcat webapp = webapp/appdev appdev.xml for its own tomcat instance Production ------------- apache document root = /docprod ApJServMount /app ajpv12://localhost:8007/appprod tomcat webapp = webapp/appprod appprod.xml for its own tomcat instance Does each tomcat "context" even in the same tomcat instance, maintain it own session information? If so, how do I do what I want to do? Should I set apaches doc root to point to the webapps/approot directory and setup settings as explained in the user guide for tomcat to only process servlets and jsp? I just want to have a normal website that lives in my apache document roots, I want JSP that lives there to be processed by tomcat, and I want my servlets to live in a webapp subdir. Is this not possible? I had this working with jserv. thanks