I need to generate a url to a servlet running inside the same container as tapestry. The problem is that I don't know how to get the host name and port that tapestry is running on. For example if my tapestry app is located at www.mysite.com/app and my servlet mapping is <url-pattern>/wspreviews/*</url-pattern> how can I dynamically construct a url to this servlet? I have the ServletContext that tapestry is running in. but I don't see anyway to generate a url from that to a different servlet.
-- Dave Kallstrom