This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

plese help me?  RSS feed

 
naveen tripathi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if request parameter contains & than+how to+send request parameter value
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your parameters will need to be encoded if they contain any control characters.
The browser will do this for you if they are the result of a form submission.
If you're passing them by building up query strings, you would need to make sure they are properly escaped.

http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, please read this:
http://faq.javaranch.com/view?UseAMeaningfulSubjectLine

It will help you to get the most out of Javaranch.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!