tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norris Shelton <norrisshel...@yahoo.com>
Subject TC 5.0.19/W2KPro - Cross Context will not work
Date Fri, 02 Apr 2004 19:58:57 GMT
I have two contexts.  I have marked both of them as
crossContext="true".  I am able to forward via a
requestDispatcher from the first webapp to the second webapp. 
However, I am getting a NPE in the destination servlet in the
following code:

if (request != null) {
     HttpSession session = request.getSession(true);  <-- NPE


Can anyone help?  Does anyone have cross context working?


=====

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message