jQuery in Action, 2nd edition*
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
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.
 
 
subject: Alternative to parseQueryString