tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Talaat <aital...@gmail.com>
Subject Arabic Support on tomcat 5.0.28
Date Fri, 12 May 2006 06:20:06 GMT
Hi,
Any way to submit arabic chars through jsps?
I need to get the following code to work.. When i submit arabic 
characters using the this jsp, tomcat just replaces them with '????'.



<%@ page language="java" contentType="text/html; charset=cp1256"
    pageEncoding="cp1256"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=cp1256">
<title>Insert title here</title>
</head>
<body>
<%=request.getParameter("text")%>
<form action="index.jsp">
<input type="text" name="text">
<input type="submit">
</form>
</body>
</html>

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


Mime
View raw message