Hi all

In my servlet I am querying (with prepared  statement)the database which has
info
in Japanese. When I am displaying the column values from ResultSet all '?'
are
displayed.

What could be the problem?

I tried this way:

1.After opening connection, I am setting the NLS Language by executing,
  ALTER SESSION SET NLS_LANGUAGE='japanese'

2.In the servlet(in init()) ,I am setting the default locale to Japanase
with
     Locale.setDefault(new Locale("jp","JA")

4.In my response , I am setting the character set to Japanese with
     res.getHeader().setCaharacterSet("SHIFT_JIS");

3.my browser is japanese language supported...

Any suggestions please?

regds
pradeep

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to