${userName} should work though; that's what the request wrapper is for.

Hrm.

Wes Wannemacher wrote:
Welcome user <s:property value="%{username}"/>

-W

On Wed, May 27, 2009 at 3:20 PM, Jim Collings <jlistn...@gmail.com> wrote:
So if I have property "userName" in my action with a getter and a
setter and then I want to use that information in my jsp but NOT in a
control what syntax would I use?
If it were a text box, for example, I would set the name attribute of
the text box to "userName" and it would work.  I want to use it in a
welcome message though as in "Welcome user [userName]".  Tried
${userName}

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to