You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Erich Meier <Er...@methodpark.de> on 2001/07/19 17:05:38 UTC
Upload and form validation
Hi struts fans,
I have a problem with the upload facility. My jsp looks like this:
<table border="0" cellspacing="3" cellpadding="5" width="100%">
<tr>
<td colspan=2><html:errors property="attach"/></td>
</tr>
<td><bean:message key="attachment"/></td>
<td><html:file property="attachment"/></td>
</tr>
</table>
Now if during the validation of this form, other form elements cause errors
and struts redisplays the page, the html:file box does not get repopulated
from the form bean.
Is this a bug or a feature? How can I circumvent it?
TIA,
Erich
--
Dr. Erich Meier, Software Process Improvement
method park, Wetterkreuz 19a, 91058 Erlangen, Germany
Tel. +49-9131-97206-316 mailto:Erich.Meier@methodpark.de
Fax. +49-9131-97206-200 http://www.methodpark.de/