You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Norris Shelton <no...@yahoo.com> on 2004/04/02 21:58:57 UTC

TC 5.0.19/W2KPro - Cross Context will not work

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