Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 49341 invoked from network); 24 Feb 2001 17:05:39 -0000 Received: from postoffice6.ipa.net (205.218.170.27) by h31.sny.collab.net with SMTP; 24 Feb 2001 17:05:39 -0000 Received: from jonb (207-50-164-248.dial-up.ipa.net [207.50.164.248]) by postoffice6.ipa.net (8.8.8/8.8.6) with SMTP id LAA24164 for ; Sat, 24 Feb 2001 11:09:08 -0600 (CST) From: "Jon Brisbin" To: "Cocoon-Users@Xml. Apache. Org" Subject: the xsp session stuff Date: Sat, 24 Feb 2001 10:57:41 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I'm having trouble using the XSP session objects. It appears that there is no checking to handle the first use of a session, when none exists yet. If I try to access anything with the session object, I get a NullPointerException. Where do I need to edit my code to have it do a getSession(true) so it will create a session to use?? Thanks! Jon Brisbin www.jbrisbin.net