Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Alternative to parseQueryString

 
Rakesh Ray
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, javax.servlet.http.HttpUtils.parseQueryString seems to be depricated.
Does anyone know what to use instead?
 
M. Gagnon
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic