Hi, How the best way to handle query strings in Java JSP?
The method request.getQueryString()
returns only a strings, how can I get the value of a specific string? Should I parse that string?
thanks
Hi, How the best way to handle query strings in Java JSP?
The method request.getQueryString()
returns only a strings, how can I get the value of a specific string? Should I parse that string?
thanks
requesst.getParameter("param-name");
if query String is like
id=12&name=abc
to get name you can do this
requesst.getParameter("name");