aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "file" field getting reset on clicking submit
 
Similar Threads
"file " field getting reset on click of submit
Reset button & Validation Error
Struts 2 : Does s:reset is really capable for reset ?
reset button
Validating file extension problem