tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Grishchenko <>
Subject how to check if a url maps to Tomcat space?
Date Fri, 27 Jul 2001 18:00:11 GMT
I'm trying to find the most effective way to determine (in servlet) if
a particular url will be served by the same tomcat instance
that the current servlet is running in. I could use
and check host names or ip addresses, but it seems to be an overkill plus
I'm not sure how to handle port numbers in this case.

Thanks for any clues,


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original

View raw message