Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 27937 invoked from network); 1 Dec 2000 17:55:34 -0000 Received: from unknown (HELO jnm-main.jnmtech.com) (209.141.9.125) by locus.apache.org with SMTP; 1 Dec 2000 17:55:34 -0000 Received: by jnm0-2 with Internet Mail Service (5.5.2653.19) id ; Fri, 1 Dec 2000 09:54:21 -0800 Message-ID: <099A29474675D41190B3009027DCCCAE06D0F0@jnm0-2> From: Keith Fieldhouse To: "Tomcat-User (E-mail)" Subject: Context <-> Port mapping Date: Fri, 1 Dec 2000 09:54:17 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello, Using Tomcat 3.2, is there a way to associate a particular application context with a port and a second application context with a different port such that neither context is available on the port that it is not associated with? Secondarily, is there a way to configure a given context such that *all* requests go through a single servlet? I'd like to be able to do this within a single instance of Tomcat. I'm building a server that operates in two parts. The first is a service that responds to a URL, preferably on Port 80, like http://myserver.com/some/path/to/a/resource.txt where the servlet in this portion sees some/path/to/a/resource.txt in req.getPathInfo(). The second part is a more traditional web application, on some other port, that simply provides an interface to configuration what the first part does with the paths that it will see. If I succeed in the mapping that I want in the first service, it must not interfere with the "normal" web application on the configuration port. Any pointers/suggestions will be welcome... Keith ------------------------------------------ Keith Fieldhouse tel: 206-628-5222 x203 PictureIQ Corporation keith.fieldhouse@pictureiq.com ------------------------------------------ http://www.pictureiq.com