aspose file tools*
The moose likes Servlets and the fly likes Problem with get parameters value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem with get parameters value" Watch "Problem with get parameters value" New topic
Author

Problem with get parameters value

netanel weinberg
Greenhorn

Joined: May 10, 2004
Posts: 27
Hello,

I've problem when trying to get the parameters' values when the user have typed the input with special characters like &, how can I handle it?

Thank you,
Netanel
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

What problems are you having?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
netanel weinberg
Greenhorn

Joined: May 10, 2004
Posts: 27
the value I get when calling request.getParameter(<parameterName> is cut and getting only the part until the &
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Where are the users typing the input?
All modern browsers will url-encode data entered into HTTP form widgets.
Are people typing directly to the query string?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with get parameters value