wood burning stoves 2.0*
The moose likes Struts and the fly likes html:file , setting default file type for choosing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:file , setting default file type for choosing" Watch "html:file , setting default file type for choosing" New topic
Author

html:file , setting default file type for choosing

Sanjeev MutalikDesai
Greenhorn

Joined: Aug 25, 2005
Posts: 6
Hi,
I am using html:file tag to upload a file. My requirement is to show by default *.csv files as file type when I click on the browse button, but by default it shows *.*, *.html, and *.gif/*.jpg.
So is there any way to set file type by default to *.csv in choose file dialogue box.
 
GeeCON Prague 2014
 
subject: html:file , setting default file type for choosing