jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes Is html:file default possible? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Is html:file default possible?" Watch "Is html:file default possible?" New topic
Author

Is html:file default possible?

Tim Manchester
Ranch Hand

Joined: Nov 03, 2004
Posts: 62
Is it possible to put a default value in an <html:file> ? If so, how?
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1027
>Is it possible to put a default value in an <html:file> ?
No.
For security purposes there is no way that you can populate the html:file control. The user has to type/select the file they want.
Tim Manchester
Ranch Hand

Joined: Nov 03, 2004
Posts: 62
OK, that makes sense. At least I can stop wasting time now.

Regards,

- Tim
 
 
subject: Is html:file default possible?