Interesting. It looks like the java file created by 2.0.3
creates/initializes the session object for you, but 2.0.1 generated java
file does not. (Notwithstanding they both have the create-session
attribute in the namespace definition) There were a few other null
pointer exceptions that I had to take care of that were 2.0.1 specific,
but were my personal code and not Cocoon generated stuff. But, that was
it!

Thanks so much for your help.

Matthew

> -----Original Message-----
> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, September 20, 2002 9:42 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Cocoon 2.0.3 under Enhydra 3.1
> 
> 
> Matthew Hailstone wrote:
> 
> >Vadim,
> >  How do I _explicitly_ create a session? Isn't the 
> following supposed 
> >to do that?
> >
> >  xmlns:session="http://apache.org/xsp/session/2.0";
> >        create-session="true"
> >
> 
> Yes, this will create the session. Other ways are 
> <get-session-id/>, and 
> request.getSession().
> 
> PS You might be using request or response variables before they are 
> initialized. See also generated java code.
> 
> Vadim
> 
> 
> 
> >I looked on the website for the short list of xsp-session 
> tags to use, 
> >but couldn't find anything to do this. I also have searched 
> the mailing 
> >list with no luck.
> >
> >http://xml.apache.org/cocoon/userdocs/xsp/session.html
> >
> >
> >Matthew
> >  
> >
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to