wood burning stoves*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Alternative to parseQueryString " Watch "Alternative to parseQueryString " New topic
Author

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Alternative to parseQueryString