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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:file , setting default file type for choosing
 
Similar Threads
Is html:file default possible?
load a csv file and parse..
html:file tag to upload a file. show by default *.xls
How to apply the filter for file selection
Load a csv file and parse it..