Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

sending space separated string in sendRedirect  RSS feed

 
Soni Prasad
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to send a space separated string in the query string while redirecting my response to some jsp, the string is "Reports and Logs", it becomes "Reports%20&%20Logs" in URL while redirection. When I am trying to retrieve this string in the redirected jsp I am getting just "Reports ". How can I get the whole string"Reports and Logs" in the redirected jsp or how can I send a space separated string in sendRedirect??
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it becomes

How are you converting Reports and Logs to Reports%20&%20Logs?

It'sconverting 'and' into '&' and this is causing your problem. It should be creating Reports%20and%20Logs
 
Soni Prasad
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx! I got it actually the string was "Report & Logs" ....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!