• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"file" field getting reset on clicking submit

 
Shally Raina
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We cant restrict that one.
 
Shally Raina
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks rajanikanth...
i came to know that after researching for the net
 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes we can't restrict that one because of the security reasons.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic