jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "accept attribute in <html:file" Watch "accept attribute in <html:file" New topic

accept attribute in <html:file

Missy Suraj

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???

Raj Chila
Ranch Hand

Joined: Mar 18, 2004
Posts: 128

I Hope its not because of the typo
I agree. Here's the link: http://aspose.com/file-tools
subject: accept attribute in <html:file
jQuery in Action, 3rd edition