This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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