Solved

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

Posted on 2010-08-26
2
432 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

747 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

15 Experts available now in Live!

Get 1:1 Help Now