wood burning stoves 2.0*
The moose likes Struts and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark ""file" field getting reset on clicking submit" Watch ""file" field getting reset on clicking submit" New topic
Author

"file" field getting reset on clicking submit

Shally Raina
Greenhorn

Joined: Jun 26, 2008
Posts: 8
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
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Hi,

We cant restrict that one.
Shally Raina
Greenhorn

Joined: Jun 26, 2008
Posts: 8
thanks rajanikanth...
i came to know that after researching for the net
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Yes we can't restrict that one because of the security reasons.
 
 
subject: "file" field getting reset on clicking submit
 
Similar Threads
reset button
"file " field getting reset on click of submit
Validating file extension problem
Reset button & Validation Error
Struts 2 : Does s:reset is really capable for reset ?