[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help regarding arabic in jsp
- To: jithesh <jithesh at amlaki dot com>
- Subject: Re: Help regarding arabic in jsp
- From: Nadim Shaikli <shaikli at yahoo dot com>
- Date: Tue, 23 Nov 2004 09:37:21 -0800 (PST)
- Cc: developer at arabeyes dot org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=ZQzzxTV+Ykp2hXfcYYkzjjdYxJDk3TosQr96GkPWGS6i7W367Ed5UF2/KC87qoxahMPsaG325zlNXH7TqQPYTvyeUg/BLOh2GNqodYXI49q0q+NEVsmKN1h4KqDUirmJQzwOgVLc+lKaBdkex0jXUMlEbO6JN04PGCEo4quIIbs= ;
--- jithesh <jithesh at amlaki dot com> wrote:
> Hi,
> I am jithesh from India.
> I read ur post in the following URL.
>
> http://lists.arabeyes.org/archives/developer/2003/February/msg00037.html
> There u have specified that u stored the arabic characters in Oracle 8i
> database and displayed correctly in a jsp page. My requirement is same. I am
> showing the arabic words in Oracle 8i database. Its showing
> characters like ' تار�S�� ا�"دفعة '.
As is noted in that post - I am NOT familiar with Oracle and was merely
suggesting UTF-8 encoding be used at ALL times.
> Here is my code...
>
> <head><title> New Document </title>
> <meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
> </head>
> <body >
> <%@ page language="java" import="java.util.*,java.sql.*,sun.io.*"%>
> <jsp:useBean id="International" scope="page" class="jit.International" />
> <%
> Connection con=null;
> con=connect.popConn();
> International.loadHashtable("LNG1",con,"ARABIC");
> Hashtable languageHash = International.getHashtable("ARABIC");
> out.println( languageHash.get("WELCOME") );
> connect.pushConn( con );
> %>
> </body>
> </html>
>
> What I am doing is I am loading all the arabic words in a hash
> table and then retrieving and displaying in jsp page.
> This works perfectly in servlet but fails in jsp.
>
> Can u help me solving this problem.
I'm forwarding this email (and your question) to the 'developer' list and
I highly advise you to subscribe to the list and post all your future
questions there for I won't answer (or forward) personal emails.
Salam.
- Nadim
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com