File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes plese help me? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "plese help me?" Watch "plese help me?" New topic
Author

plese help me?

naveen tripathi
Greenhorn

Joined: Dec 09, 2005
Posts: 1
if request parameter contains & than+how to+send request parameter value
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Also, please read this:
http://faq.javaranch.com/view?UseAMeaningfulSubjectLine

It will help you to get the most out of Javaranch.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: plese help me?
 
Similar Threads
Problem with DispatchAction.
Passing parameters to actionMapping
how to include the respose of one servlet as request to another
How to read data from a url in jsp
response.encodeURL