tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norris Shelton <>
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message