I use the blueimp jQuery File Upload (UI version) 7.2.1 with a Java Spring MVC 3.1 backend. It works fine for chrome and FF. Unfortunately not for IE because of the content-type="application/json". The recommendation is to change this with content negotiation via accept headers. I know that there is a Spring ContentNegotiatingViewResolver. Is that the appropriate approach to fix this? Has anybody solved this problem so far?
Asked
Active
Viewed 1,057 times
1 Answers
0
I got this working by changing the Spring MVC controller to produce 'text/plain' instead of 'application/json'. Details in my answer here: jQuery-File-Upload and Spring MVC IE9 doesn't work This worked fine but I would also be interested in a proper way of doing this, as this seems a bit hackish.