What is the difference between these two sessions??? :

JAVA session:
<xsp:structure>
 <xsp:include>org.apache.cocoon.environment.Session</xsp:include>
</xsp:structure>
...
<xsp:logic>
 Session session = null;
 ...
 session = request.getSession(true);
 session.setAttribute("user",user);
...
</xsp:logic>

--------------------------------------

XSP SESSION:
<xsp:page language="java" 
 xmlns:xsp="http://apache.org/xsp";
 xmlns:session="http://apache.org/xsp/session/2.0"; 
>
...
<session:set-attribute
name="user"><xsp:expr>user</xsp:expr></session:set-attribute>
...


          
Is there a way to create and set a JAVA session and then get an
attribute with session-xsp, like
<session:get-attribute name="user"/>


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

Reply via email to