Ok, i have these codes:
HttpServletRequest httpRequest = (HttpServletRequest) request;
String requestQueryString = httpRequest.getQueryString();
System.out.println(requestQueryString);
When open the url "http://127.0.0.1:8888/MyProject.html?gwt.codesvr=127.0.0.1:9997?_escaped_fragment_=home
",
it printed out:
gwt.codesvr=127.0.0.1:9997?_escaped_fragment_=home
That url is missing the http://127.0.0.1:8888/MyProject.html?
part.
How to fix it?
It would be
httpRequest.getRequestURL() + "?" + httpRequest.getQueryString()
prints
http://127.0.0.1:8888/MyProject.html?gwt.codesvr=127.0.0.1:9997?_escaped_fragment_=home
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments