Solved

why query string value japanese char  value not getting in java class

Posted on 2010-08-26
2
436 Views
Last Modified: 2012-05-10
Hi

why query string japanese char  value not getting in java class . it give junk value

http://localhost:8082/Bio-Origin/shohinSearch.do?action=searchButton&shohinCode=(¿¿)&window=0
0
Comment
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 33536741
0
 
LVL 40

Assisted Solution

by:gurvinder372
gurvinder372 earned 250 total points
ID: 33539058
if you are creating the query String using javascript, then make sure that you escape the values first.

eg

var value = "some japanese chars";

queryString = "key=" + escape(value);

examples
http://tagunov.tripod.com/i18n/i18n.html#parameters-general
http://www.trupti.com/index.php/it/java/jsp/Encoding-special-characters-in-userinput-or-on-server.php
http://www.jguru.com/faq/view.jsp?EID=1030399.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article discusses how to create an extensible mechanism for linked drop downs.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now