----- Original Message ----- From: "Leonidas Papadakis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 10, 2003 8:14 PM Subject: [OS-webwork] Setting session value in jsp ( webwork1 )
> Can anybody tell me how can i set a value passed by an action, to the > session at the jsp file ? > Which webwork tag do i have to use? Otherwise how can i access the value > from jsp code ? > I am using webwork 1.4. > There is no tag for setting a value in the session. With the property tag you can set a value in the page and request contexts only. If we added a set tag similar to what exists in WW2 then you could do this by setting a scope attribute to session like: <ww:set id="mySessionVar", scope="session" value="someValue"/> For now you can do it by using JSP scriptlets instead. Cheers, Dick Zetterberg [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork