I have a strange scenario. Query string has value first=second=12123423423423432323234
String queryString = request.getParameter("first=second=12123423423423432323234")
So i have to:
- capture ‘first’ and ‘second’ values
- validate the query string has ‘first’ and ‘second’.
Could someone please share how I can achieve this in the best possible way?
I really appreciate your help on this.
I believe your query string should look like
You can use this in your servlet to print the query string
In your case, where the query string is
You could do this