> I have a hack in HttpContext for PaxWicket that removes all leading slashes
> except one, so we have a work around hack.

It's fixed in Wicket now though. Like I said:

        protected IRequestTarget resolveExternalResource(RequestCycle 
requestCycle)
        {
                // Get the relative URL we need for loading the resource from
                // the servlet context
                // NOTE: we NEED to put the '/' in front as otherwise some 
versions
                // of application servers (e.g. Jetty 5.1.x) will fail for 
requests
                // like '/mysubdir/myfile.css'
                String url = requestCycle.getRequest().getURL();
                if ((url.length() > 0 && url.charAt(0) != '/') || url.length() 
== 0)
                {
                        url = '/' + url;
                }
                return new WebExternalResourceRequestTarget(url);
        }

Eelco

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to