Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-2009, 05:55 PM
Member
 
Join Date: Mar 2009
Posts: 9
Rep Power: 0
Malathi is on a distinguished road
Default How can i retain special characters in server side (java) after passing from client
Hi,

while passing a string containing special characters from client side to server side, special characters are converted to some junk characters when we are getting to java file.

i have stored the string in a bean property, and i am getting the same property from bean in java. But it is coming with some junk where special characters are in place

please suggest
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 03-27-2009, 11:18 AM
Member
 
Join Date: Mar 2009
Posts: 5
Rep Power: 0
nagendra.prasad is on a distinguished road
Default
Try to use the following on serverside
URLDecoder decoder = new URLDecoder();
guiFileName = decoder.decode(request.getParameter("guiFileName") ,"UTF-8");
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open a file located in server from client side Malathi Web Frameworks 4 04-20-2009 10:10 PM
Copy a .swf file from server side to client using signed applet Imoracle Java Applets 2 10-05-2008 07:13 PM
passing info between server/client problem DarkBlaze New To Java 13 07-24-2008 04:14 AM
special characters ravian New To Java 2 11-16-2007 02:28 PM
Special characters in text fields Felissa Web Frameworks 0 06-27-2007 05:47 PM


All times are GMT +2. The time now is 09:26 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org