Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:file value is reset

 
John Spence
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic