File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes html:file value is reset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:file value is reset" Watch "html:file value is reset" New topic

html:file value is reset

John Spence

Joined: Jan 05, 2004
Posts: 2
I have a form that contains several input fields, one being an html:file tag. If validation of the form fails, the value the user supplied to the html:file field is lost and the user must enter the value (via the browse button) again.

Can anyone help me understand why the value of the html:file field is being reset and what I can do to prevent it?
I agree. Here's the link:
subject: html:file value is reset
It's not a secret anymore!