Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 58317 invoked from network); 8 May 2006 12:47:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 May 2006 12:47:42 -0000 Received: (qmail 9668 invoked by uid 500); 8 May 2006 12:47:29 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 9552 invoked by uid 500); 8 May 2006 12:47:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 9541 invoked by uid 99); 8 May 2006 12:47:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 05:47:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.106.124.41] (HELO ex-1.coxtarget.com) (63.106.124.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 05:47:27 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6729D.83610DD9" Subject: c:import and session scope in tomcat Date: Mon, 8 May 2006 08:47:06 -0400 Message-ID: <3C0EE29939948549A093F180634257028F2649@ex-1.coxtarget.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: c:import and session scope in tomcat Thread-Index: AcZynYNb0rwk95ZcSbKqj0/hlysTgw== From: "Bob Damato" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6729D.83610DD9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have two webapps.=20 Webapp one contains this JSP=20 x.jsp:=20 ----------------------------------------------------------=20 <%@ taglib uri=3D"/c.tld" prefix=3D"c" %>=20 <%=20 session.setAttribute("tester", "this is a test attribute");=20 %>=20
=20
Value from attribute in webapp one: =20
=20
----------------------------------------------------------=20

Webapp two contains this JSP=20
y.jsp=20
----------------------------------------------------------=20
<%@ taglib uri=3D"/c.tld" prefix=3D"c" %>=20
Value of attribute from webapp two: =20
----------------------------------------------------------=20
Under our current web container (servlet exec 4.2) with context sharing
enabled, webapp two has access to the session attribute "tester" from
webapp one.
When we run this under Tomcat 5.5 with crossContext enabled, webapp two
does not have access to that session attribute.=20
Anyone have any idea why? Which one is correct?


________________________________________________________________________
_____________
Bob Damato
Cox Target Media=09
Internet Technology Manager
Largo, Florida

Our greatest glory is not in never falling, but in rising every time we
fall.  -- Confucius


------_=_NextPart_001_01C6729D.83610DD9--