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�%��Ą"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�~�Ļ%^�M��kzďuY�髈BW4� �.�����V����{>��O�㊾��/�l�ii8�SNjQ�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?