tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomcat <tom...@hpcc.nectec.or.th>
Subject default encoding problems
Date Fri, 27 Sep 2002 08:05:20 GMT
I need to display Thai language (TIS-620) on Browser.
But I can't set this encoding to default when user open my web page.
user must select "IE-menu-->View-->Encoding-->Thai(Windows))" every time.

My environment is Redhat 7.3 + Tomcat 4.1 + struts 1.1

My jsp code is

<%@ page import="messages.*" %>
<%@ page import="java.util.*" %>

<%@ page contentType="text/html; charset=TIS620" %>
<html>
<head>
<title>Home :: PeTerPan</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>
<body bgcolor="#FFFFFF" >
???? <%=messages.getValue("1")%>
<% System.out.println(comm.getValue("1")); %>
</body>
</html>

thank you

Apirak Panatkool


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


Mime
View raw message