Hi,
I have one application in struts and it is capable for switching between
multiple languages(Arabic and English)and now i am planning to use glassfish
as my servlet container instead of tomcat 6.x . But in glassfish i have one
problem while switching between english and arabic . The page is showing
some junk data instead of showing arabic characters while i am switching my
page from english to arabic. The same code is working fine with tomcat
server.
In my struts applicaton i have one utf-8 encoded file for arabic and it is
taking the arabic strings from this paroperty file while switching to
arabic.
Is any thing i need to configure from my glassfish server for getting this
characters correclty ?....Please help me it is very urgent ..
Please see a small snap of my jsp page and i have already specified the
character set and content type.. Is any thing more required in jsp page for
reading this kind of characters?.....
Please correct me if i am wrong in anything ................
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<html>
<HEAD>
<link rel="shortcut icon" href="images/dcrms.ico">
<LINK REL=StyleSheet HREF="css/MainLayout.css" TYPE="text/css">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="pragma" content="no-cache">
Thanks in advance,
Crazy Worker
--
View this message in context: http://www.nabble.com/Locale-switching-problem-tp21583938p21583938.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.