File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Alternative to parseQueryString Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Alternative to parseQueryString " Watch "Alternative to parseQueryString " New topic

Alternative to parseQueryString

Rakesh Ray
Ranch Hand

Joined: Jul 25, 2001
Posts: 51
Hi, javax.servlet.http.HttpUtils.parseQueryString seems to be depricated.
Does anyone know what to use instead?
M. Gagnon
Ranch Hand

Joined: Feb 18, 2004
Posts: 68
Are you trying to read request parameters (the name/value pairs in the query string)? If so, have a look at the getParameter(), getParameterNames(), getParameterMap() and getParameterValues() methods of the HttpServletRequest object. Actually, those methods are inherited from the ServletRequest object.
I agree. Here's the link:
subject: Alternative to parseQueryString
It's not a secret anymore!