Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Arabic encoding problem  RSS feed

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>


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
Boost this thread!