Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Arabic encoding problem

Kc Sreejith
Posts: 10
Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all
i am developing an Arabic application in jsp,but there occurs a problem when displaying the arabic text i got ???
i am using tomcat 5.5 as server
my jsp page is as follows

<%@ page language="java" contentType="text/html; charset=UTF-8"

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

{ String paramEncoding = application.getInitParameter("PARAMETER_ENCODING");
if((request.getMethod().equals("POST")) && (request.getParameter("Save").equals("Save"))){
if(paramEncoding !=null)

<td align="center">
<form method="post" name="CalendarKeyfrm" id="CalendarKeyfrm" onSubmit="return false">

<td align="left">مفاتيح التقويم<</td>
<td align="left">
<input name="calendarKeyName" type="text" maxlength="50" id="calendarKeyName" size="40" onKeyPress="grabFocus(event,this,'colorCode')">

<input name="butAction" type="button" id="butAction" value="Save" onClick="return saveValue(1)" >
<input type="reset" value="Reset" />
<input name="cancel" type="button" class="btn" id="cancel" Value="Cancel" "> </td>


Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use code tag to post code snippets.

you can edit your post by clicking on edit icon & add code tag.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic