wood burning stoves 2.0*
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 Spring in Action this week in the Spring 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Alternative to parseQueryString