Hi,
you can set a variable into the session like this:
<c:set var="theUltimateAnswer" value="${41+1}" scope="session" />
(more examples here:
http://www.java2s.com/Tutorial/Java/0380__JSTL/SetVariableasSessionScope.htm
)
This may not be the best way to do what you're trying to do though; maybe
you want to post the user form to a different location?
HTH,
Luc
On Wed, Sep 3, 2008 at 8:17 AM, mannobug <[EMAIL PROTECTED]> wrote:
>
> Hi all i'm trying to override userForm.jsp because i'd like to redirect
> saveUser "success" in another jsp.
> I need all varibles set during registration like username, password and so
> on in userForm.jsp to trig another table. I though to insert all varibles
> in
> session using (for example) <s: set name="user.username"
> scope="#user.username"/> but this doesn't work. When i try to retrive
> session parameters with getSession().getAttributeNames() no one is set only
> clickstream, SPRING_XXX, and other
> Where is the error? Is it possible to create session parameter from a JSP
> usign struts2?
> Thanks a lot :-)
> Ema
> --
> View this message in context:
> http://www.nabble.com/Setting-session-parameters-tp19284133s2369p19284133.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>