One feature of
Struts tags that's not very well documented is the fact that if you provide a body for the tag, it will be used in the place of a value attribute. So, in your example, the following should work:
I normally don't like to set values for fields in the
JSP, though, because it doesn't work for validation. If the JSP is redisplayed due to a validation error, the value will show as the default value, not the value the user entered.
[ December 20, 2007: Message edited by: Merrill Higginson ]