HttpServletResponse encoding problem @ WebSphere 6.1
Posted
by user295509
on Stack Overflow
See other posts from Stack Overflow
or by user295509
Published on 2010-03-17T09:25:00Z
Indexed on
2010/03/21
6:41 UTC
Read the original article
Hit count: 373
websphere-6.1
|java
My application is working fine with JBOSS 4.2.2 application server. However when I deploy same application at WebSphere 6.1. I get HttpServletResponse encoding problem. I am getting response on web browser as shown below:-
??][s?8?~N??0?uRY?d;?H?e??e??d6?%??A"yH????????M??x?? ??&A??h??ntCT???????UM??BW???H?T?4???????t??G?f =l?&5[?j?B{???6???V???6???7???????(???5?4????.?!????j??i?V????? X?Q??^<??????????sK????h?{y1?] [??T??-
?Dm?_?7????P??<*??VvQ?:6?KCc? 6?]????V_?zPC?c???Ÿ???z>sW????_y?*???2? ??)?r?~?L%^?M???kzduY??BW4? ?.?????V????{>??O????/?l?ii8?S?Q?cJ?56GAogp?w???7'??9vf???E?,???
9?q?x???z?H????????;????4?? ?5?????iWF??l????o^??Fy?|?d???????zMa,????y??e \<?J???M?:miz????z?Z5???????^/???e?:?j7??'??~?@?V?V???nN?&??Q%}(??????*u???#???S?BO??Lð????+??x?8?/?E??????6_k?1)?@q. ?S%??5?=?$?CSBt?c ????+hX??2?>t?s?+?M???????
?nv$??13m?>??
I would like to mentioned that this encoding problem is not arise when I have less data (or HTML element). Means even at WebSphere, It is working fine when there are up to approximately 300 HTML element are render. When HTML elements over than certain number then web page is shown with encoded form. Moreover at Jboss 4.2.2 application is working fine up to long -long html element. I set content type as:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
This issue is reproducible at FF 3.6 and IE 7 and 8 browser.
Can anyone help me out? Am I missing some setting?
© Stack Overflow or respective owner