Truhann,
you are probably doing everything right, but there is one small thing that
the documentation doesn't cover very well. You need to set the
create-session attribute to true in your <xsp:page> element, like this:
<xsp:page
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
create-session="true"
>
Otherwise the session isn't created/retrieved and you get the exceptions as you
describe.
-Christopher
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Cocoon and Sessions
I am new to Cocoon and sessions. Are using C1.8.2.
Can anybody send a beginner sample (or pointer to help-documentation) to
setup/save/retrieve variables from a session.
All the <session:xxx> tags in my xsp page create NullPointer's.
Truhann
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>