Take a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=4690
and see if this accurately describes the issue you are having.  This is
a known incompatibility with the servlet spec that has been in place for
over a year.  If this is your problem, at least try to vote for it so
that it can rise in visibility for the developers...

 

-----Original Message-----
From: louis [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 19, 2002 11:22 AM
To: Tomcat Users List
Subject: Tomcat crossContext not working properly!!

 

Hi everyone,

 

I hope someone can help me to solve this cross context problem.

 

I try to pass a request attribute from one application to another.  It
work fine in the controller class, but the session is not working
properly in JSP page.  I set the value into session, and try to get it
back from the JSP page, and I got a null value because the session has
changed.

 

I attached a simple test application to test the cross context.  When
you deploy it, you must add this 2 line in your server.xml.

<Context path="/test1" docBase="test1" debug="0" reloadable="true"
crossContext="true"/>    
<Context path="/test2" docBase="test2" debug="0" reloadable="true"
crossContext="true"/>

I try this application in Jrun, and it work well.

 

 

Warm Regards,

Louis      

Reply via email to