File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

plese help me?

 
naveen tripathi
Greenhorn
Posts: 1
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic