pon., 27 lip 2020 o 13:03 beppe coniglio <jackfoll...@gmail.com> napisał(a): > > Hi, > I create a new Project following guide lines in > https://cwiki.apache.org/confluence/display/WW/File+Upload but when I try to > upload csv file I obtain "Content-Type not allowed: > ....application/vnd.ms-excel" > I download also a project by > https://www.journaldev.com/2192/struts-2-file-upload-example , modify tag > <param name="fileUpload.allowedTypes"> but also it doesn't work with Csv file. > Is a bug?
Did you use IE/Edge to test the app? Looks like CSV files were registered with application/vnd.ms-excel instead of text/csv Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org