Hi. I had faced the same problem. I don't think that the problem is th
text/html-application/x-json stuff. I think that the problem is the
end line/end file (EOF) character of the flush sended by the server.
It always used to happen when I the flush (the json string) had an
irregular character (ñ, ó, í, etc). What I did was to change the i18n
configuration of the linux (/etc/sysconfig/i18n) to support spanish
language. In addition, I added an string of ten white spaces to the
end of the string sended as response. :) I know that it is not an
elegant solution, but it works...

I hope it helps you.

Leo

On Sep 16, 11:43 am, thlaitina <[EMAIL PROTECTED]> wrote:
> I tried to load a store with HttpProxy. It worked well in Windows but
> failed in Linux. I did set the response header by calling
> res.setContentType("application/x-json; charset=utf-8"); Using
> Firebug, I could see the application deployed in Windows Tomcat had
> the response header correctly set. But the application deployed in
> Linux Tomcat has the response header reset back to (text/
> html;charset=utf-8). Anyone has the same experience or solution for
> the problem? Many thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to