In HttpServletRequest, getParameterMap returns a Map of all query string parameters and post data parameters.
getParameterMap
Is there a way to get a Map of ONLY query string parameters? I'm trying to avoid using getQueryString and parsing out the values.
You can use request.getQueryString(),if the query string is like
request.getQueryString()
username=james&password=pwd
To get name you can do this
request.getParameter("username");
1.4m articles
1.4m replys
5 comments
56.9k users