From: "Amleto Di Salle" <[EMAIL PROTECTED]>
> But a question: Are you using the html tags inside your jsp?
> If yes, you can put the VO in the request and use the "value" (for
> example value="${requestScope.anObject.aProperty}") attribute in the
> html tags (for example "html:text).

If you do that, you'll have a problem if you need to re-display the users
input if it fails validation.  With a 'value' attribute, that's always what
will get displayed, not the value in the form bean.

Pre-population belongs in the Action code, then Struts can properly handle
what to display in the HTML form.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to