This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60752

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
wood burning stoves
subject: "file " field getting reset on click of submit
Similar Threads
reset button
"file" field getting reset on clicking submit
Reset button & Validation Error
How to pass value in href tag
changing elements in same Jsp page