Thanks Alen.
Your advice helped me isolate the issue.
If I try request.getRequestDispatcher("/download?
code=3vif9&msisdn=46733710212&language=sv&siteKey=essve_2") I am
returned an ApplicationDispatcher.
However if I try request.getRequestDispatcher("/download") I am
returned a ManagedServletPipeline, and it forwards with no issues.
If I access the URL directly through my browser,
http://localhost:8080/wap/download?code=jmtki&msisdn=46733710212&language=sv&siteKey=essve_2,
I am served the correct page through Guice.
Here are my servlet definitions:
serve("/download").with(DownloadServlet.class);
serve("/download/*").with(DownloadServlet.class);
serve("/downloadValidator").with
(DownloadValidatorServlet.class);
serve("/downloadValidator/*").with
(DownloadValidatorServlet.class);
(If I try to use just the "download/*" pattern my servlet is not
served at all).
So it appears to me that the forwarding has issues with parameters, it
does not return the ManagedServletPipeline when I have them.