You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Terrence Beard <t_...@samasher.com> on 2002/01/08 17:22:49 UTC

Contexts in Tomcat 3.2.1 - Necessary?

Hello all!

Here's what we've got: WinNT 4SP6 running IIS 4. We support several seperate
web sites via IIS (couple internal, several external). The source for each
is kept on a seperate directory path, different from the Tomcat install
path. The JSP pages are being serviced by Tomcat 3.2.1 via the
isapi_redirect.dll, which is set on the filter list for the "machine" (as
opposed to each web site).

In order to get things to work, we needed to define a seperate context for
each site in the server.xml file, and reference them in the
uriworkmap.properties file. So, there a context named "foo" pointing as the
JSP source directory for the www.foo.com. On the URL, these files are
accessed (and processed) via www.foo.com/foo/sample.jsp. 

The question is this: is this the proper way to do this, or is there a
better/preferred way of doing this? Is there a way to say "process JSP files
no matter where you find them" without being determential?!

All suggestions are welcome and appreciated!

Thanks!

Terry Beard