17 Jan 2013 4:19 AM #31
please, show me the answer. i don't see that
17 Jan 2013 4:36 AM #32
sorry for my stupid comment, but i can't find the solution for this problem. i am new at extjs, so please help me, if you can. I had same problem with <pre></pre>
6 Mar 2013 8:30 AM #33
Pretty much the same problem
I have been fighting a similar issue for the past 2 days. Namely, my problem is related to the IE8 browser.
Is there any way i could make the browser accept text/html content type? Current Accept looks like this:
application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/x-shockwave-flash, */*
And the value the browser gets from the server is of a type: application/x-ms-application
The value returned from the server should be text/html as stated in the documentation, and the value returned is a String. It works for all other browsers apart from IE8 and lower.
I tried various ways, such as response.setContentType("text/html"); the @Produces annotation and aswell manually handling the JSON decode method.
None of it was successfull, as the IE8 somehow skipped the part where the response should be decoded...
I also found a link to a postclaiming to explain this issue on the forums, but i am somehow not authorized to access that post
Could you give me any hint, where to start next, what to do?
7 Mar 2013 2:33 AM #34
Solved the IE8 issue
Hope it will help someone,
The Spring controller that handled the upload was set to void, instead of String that it had so far... And the body contained something like :
response.setContentType("text/html"); response.getWriter().write(objectMapper.writeValueAsString(data)); return; //instead of the return objectMapper.writeValueAsString(data); that it had before
31 Oct 2014 11:32 PM #35
Presumably the file uploader thing should be looking at .textContent, not .innerHTML.Ext Every Day!
Thread Participants: 17
- Animal (8 Posts)
- Condor (1 Post)
- Frank (1 Post)
- Naneau (3 Posts)
- sturdypine (1 Post)
- esoteric (2 Posts)
- ZooKeeper (2 Posts)
- brookd (1 Post)
- McCornic (1 Post)
- ypcheng (1 Post)
- tvald (1 Post)
- beto.ch (3 Posts)
- Surinder singh (1 Post)
- Uberdude (2 Posts)
- ezzygemini (2 Posts)
- ztomic2302 (2 Posts)
- karinaonly (2 Posts)