Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to send a plus in query string  RSS feed

 
Senthil B Kumar
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a hidden form field with value as ="SENTHIL+KUMAR"

i need to send this to the server from my JSP page, through query string.

What happens is, this + is getting converted to a space and the + is lost.

There is no use in using the escape(),unescape() javascript functions. It is not working.

Please tell me a way.
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try inserting with the ASCII equivalent...

hth
MB
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not cross post!

http://www.coderanch.com/t/115438/HTML-JavaScript/send-plus-query-string

Other post is closed!

Eric
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!