Wendy Smoak wrote:
From: "Laurie Harper" <[EMAIL PROTECTED]>
This really should be an FAQ :-) The problem is that it's not legal to
nest JSP tags that way. Try:
<html:text property="title" value="${someBean.oldTitle}>
or
<html:text property="title" value="<%= someBean.getOldTitle() %>">
That prevents the framework from re-displaying the user's input if the
form fails
validation.
At the risk of repeating myself: the place to pre-populate your form beans
is in the Action, before you forward to the JSP.
Good point. I really *must* try and remember that everyone else does it
this way ;-) [that's the problem with using non-standard design patterns!]
L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]