Hi,

How can we set the session variables which we used to
do in stuts 1.x. and thereafter access in the jsps.

e.g.

session.setAttribute("NAME","USER11");

and in jsp

 <logic:equal name="NAME" value="USER11">
          This message is for user 1
 </logic:equal>


How can we access to the session, should it be as 
follows

In execute method


  RenderRequest req =
PortletActionContext.getRenderRequest();

        

        

PortletSession session=req.getPortletSession();

        session.setAttribute("NAME","USER1");


 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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

Reply via email to