Hi

I am having a really weird problem with data containing chinese characters. I have something similar to the following code in a jsp.

<s:iterator value="#request.translations">
   <tr>
       <td>
       <s:property value="translationText"/>
       </td>
   </tr>
</s:iterator>

This works fine otherwise but when 'translationText' contains Chinese characters an incomplete jsp is painted.

Like say if the loop has to run 20 times, only 18 or 19 lines are printed and NO code after the loop is printed. It's as if the jspwriter has crashed or something but no exception is thrown. I am using tomcat 5.5.21.

At first I thought it was a buffer related issue so added out.flush() to every iteration I also reduced the number of iterations. Now if the loop is running 10 times still 7 or 8 rows are being printed. I added a system.out.println() in the middle of the loop and I im getting 20 lines printed in the logs... but in the jsp i can only see 18 or 19. And this works for all other languages.

Has anyone ever faced a problem like this? I tried searching on google but couldn't find anything.

Please suggest what can I do?

Thanks
Manu


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to