Description
When in servlet mode, after the request hasn't been serviced by the wicket flter, the WicketServlet's fallback(HttpServletRequest, HttpServletResponse) would try to open stream to resource from the servlet context. If the url isn't trimmed of the query string beforehand, the resource lookup will fail resulting in 404. It is common to pass parameters to static js this way. A suggested patch to follow shortly.