You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dave Kallstrom <da...@gmail.com> on 2006/12/28 19:23:18 UTC

ServletContext

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