tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eyup TEKIN" <te...@yfas.com.tr>
Subject struts tomcat turkish character problem
Date Fri, 02 Jul 2004 08:08:18 GMT
hi
there is a webapp including oracledatabase(datas are hold with turkish
character) ejbs on borlandapplicationserver ,tomcat,struts and jsps.
i can write turkish character in jsp page side.but dynaaction form creates a
selection list.and that list cant show turkish character.in tomcat's
catalina.sh file there is a "-Dfile encoding=1254" parameter.and i wrote in
the struts part below convertion

"
byte[] s0_byte = satirArray[0].getBytes("Cp1254");
satirArray [1]= new String(s1_byte, "Cp1252");
"
i solved problem but how can i solve this problem in another way? maybe
general solution will be beter.

sincerely


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message