Oops, I misunderstood the question. Musachy's correct, though; setting something to session from the JSP is a little suspicious.
Dave --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > That would be to set the value on your action. On your jsp, use the > "set" tag, and set the "scope" attribute to session: > > http://struts.apache.org/2.x/docs/set.html > > btw, if you are setting something on the session in your jsp and using > it on the actions, there is a good chance that you are doing something > wrong. > > On Mon, Mar 3, 2008 at 2:03 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- mojoRising <[EMAIL PROTECTED]> wrote: > > > Hi, I want to set a parameter in the session from my JSP, and then > access > > > it from my action class. I am not sure what the correct syntax is for > this. > > > Could someone please explain? Thanks! > > > > > http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-session.html > > > > Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]