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 > > -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org