-5

How to to get query string parameters from a url

Sample Input -

www.boom.com/?frontend=true&challenge=false

Sample Output -

frontend = true
challenge = false

1 Answers1

-1

You could use

String frontEnd=request.getParameter("frontend");
String challenge=request.getParameter("challenge");

to get the values and then use/show them

Saurabh Singhal
  • 271
  • 1
  • 5
  • 18