> Take a look at BaseURLSource.
I think that's not the right place - BaseURLSource is for the URL before the context path.

The context path is obtained via org.apache.tapestry5.services.Request#getContextPath() which delegates to javax.servlet.http.HttpServletRequest#getContextPath().

Bad news: the problem is that you cannot decorate/replace Request and HttpServletRequest because these are no services.

What you could do is contribute an HttpServletRequestFilter to HttpServletRequestHandler which wraps the HttpServletRequest in a HttpServletRequestWrapper changing the getContextPath() method to return "/".

--
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to