aspose file tools
The moose likes Struts and the fly likes accept attribute in <html:file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "accept attribute in <html:file" Watch "accept attribute in <html:file" New topic
Author

accept attribute in <html:file

Missy Suraj
Greenhorn

Joined: Mar 31, 2011
Posts: 3
Hi All!

i want to have file filter in html file upload.
My code is

<input type="file" accept="application/xml,appliocation/csv" />

this is working fine in opera but not in browsers like IE and Mozilla..

Any help???

thanks
Raj Chila
Ranch Hand

Joined: Mar 18, 2004
Posts: 128

I Hope its not because of the typo
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: accept attribute in <html:file