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

Request Parameter has a "&"  RSS feed

 
Shiaber Shaam
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

One of my servlet's request parameter's value has a "&". As & is used when more than 1 request parameter is there, Please let me know how to handle this scenario.

Thanks,
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By URL-encoding it. The HttpServletResponse class has a method for that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!