It's not a secret anymore!*
The moose likes HTML, CSS and JavaScript and the fly likes Initial value in file type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Initial value in file type" Watch "Initial value in file type" New topic
Author

Initial value in file type

sudha swami
Ranch Hand

Joined: Apr 24, 2007
Posts: 179
Hi,
I want to display the initial vaue in the file type form field.
<INPUT type="file" name="postalTablePath" value="E:\" size="50" disabled>
I tried the above one, still it doesnt work.
regards
sudha
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not set the value of a file input control. It is a security measure.

Eric
sudha swami
Ranch Hand

Joined: Apr 24, 2007
Posts: 179
thanks Eric
 
Consider Paul's rocket mass heater.
 
subject: Initial value in file type
 
Similar Threads
operation parameters - uml question
DynaValidatorActionForm and checkboxes
How would I include reset() for DynaValidatorForm
0 set as initial value in form
What is the Initial value of char literal?