• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to retain file path in file input ?  RSS feed

 
Montano Mazvik
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am facing a problem while using File input element of HTML.

When I attach a file & submit the form ,there is cross validation for a few user inputs that if fails then I have to redisplay the same page again with previously eneterd data.

I am using view bean to restore the values of rest of the fileds but I failed to restore the file path/value of File input element.

Please note that I have tried to do this using Javascript but doesn't work for me.

Pls help...

Thanks in Advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!