struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eyup TEKIN" <>
Subject struts turkish character problem
Date Fri, 02 Jul 2004 08:00:00 GMT
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 tomcat's 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message