AFAIU,

You want, in main.xsp:
<xsp:logic>
  request.getSession().setAttribute("my-data", myObject);
</xsp:logic>

In svg.xsp:
<xsp:logic>
  MyObject myObject =
(MyObject)request.getSession().getAttribute("my-data");
</xsp:logic>


Vadim

-----Original Message-----
From: Je vous site [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 19, 2002 10:33 AM
To: [EMAIL PROTECTED]
Subject: Session Parameter

hello,

I'm not sure, what i want to do is possible or not.
I've got a main page named main.xsp with main.xsl, I've got a svg.xsp
with svg.xsl embedded.
I want to pass values from main to svg.xsp. I've tried to url-encode the
datas : it works, but i want to give svg.xsp a large and variable amount
of data. I've tried to get the session-id : no session-id available in
svg.xsp, I've tried to give svg.xsp the session-id of main : i've got an
error. Does someone manage to do what i want ?


Thank you for your help

Xavier.


---------------------------------------------------------------------
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]>

Reply via email to