This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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.
 
Don't get me started about those stupid light bulbs.
 
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..