Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 3762 invoked from network); 31 Jul 2002 11:37:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 31 Jul 2002 11:37:58 -0000 Received: (qmail 6357 invoked by uid 97); 31 Jul 2002 11:38:12 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 6341 invoked by uid 97); 31 Jul 2002 11:38:12 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 6329 invoked by uid 98); 31 Jul 2002 11:38:11 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <3D47CB1A.3030901@eriamschaffter.info> Date: Wed, 31 Jul 2002 13:33:47 +0200 From: Eriam Schaffter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Embedded Tomcat and custom connector ? References: <3D46B262.3020608@eriamschaffter.info> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi back That was not so clear. What I would like to do is to get *all* http requests and manage them trough another connector then the one that passes them to the filesystem. Example: a http request comes and it's a GET /Test instead of trying to fetch the local Test directory I want to redirect this to another resource like a sql procedure or something else. I think that it's possible to do this by creating the connector by myself instead of creating it on the high level with createConnector method of the Embedded class. Something like creating a HttpConnector with an associated EventHanlder ? Any tips ? Any idea ? Thanks in advance. Eriam Eriam Schaffter wrote: > Hi all. > > I'm embedding tomcat in a java app using the Embedded class. > > What I would like to do know is to use the http connector but I would > instantiate it by my own and not via the createConnector method so I > handle requests and responses in my program. The goal is to have a > connector that handles http request a bit differently then the one in > tomcat (redirect get request on another resource). > > Any suggestions ? > > Eriam > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: