The moose likes Struts and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

"file " field getting reset on click of submit

Shally Raina

Joined: Jun 26, 2008
Posts: 8
Hi all,

1. I have an <input type="file"> field on my jsp but when i browse a file and then click submit ..the path of the file gets reset.
i dont want that.
I am also using Struts validation framework for my jsp
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60794

Please take care not to post the same question more than once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: "file " field getting reset on click of submit
Similar Threads
reset button
How to pass value in href tag
changing elements in same Jsp page
"file" field getting reset on clicking submit
Reset button & Validation Error