Saturday, September 18, 2010

HTTP query string when tested in development mode

Hi

I have the following servlet filter and mapped to the URL pattern /*

public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
HttpServletRequest req = (HttpServletRequest) request;
// query is null?
String query = req.getQueryString();
}

When I started the GWT application in development mode: http://127.0.0.1:8888/Dummy.html?debug&param2&gwt.codesvr=127.0.0.1:9997, the query string is always empty (null).

Do you know why?


--

Hez

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment