This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data 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: 62127

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
rocket mass heater kickstarter
subject: "file " field getting reset on click of submit