Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 3185 invoked from network); 9 Feb 2004 07:18:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Feb 2004 07:18:06 -0000 Received: (qmail 55635 invoked by uid 500); 9 Feb 2004 07:17:10 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 55606 invoked by uid 500); 9 Feb 2004 07:17:10 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 55472 invoked from network); 9 Feb 2004 07:17:09 -0000 Received: from unknown (HELO mail.pricerunner.com) (62.181.227.99) by daedalus.apache.org with SMTP; 9 Feb 2004 07:17:09 -0000 Received: (qmail 23582 invoked by uid 525); 9 Feb 2004 07:18:13 -0000 Received: from stefan.gorling@pricerunner.com by drno.pricerunner.com by uid 522 with qmail-scanner-1.10 (. Clear:0. Processed in 0.094775 secs); 09 Feb 2004 07:18:13 -0000 Received: from unknown (HELO pricerunner.com) (unknown) by unknown with SMTP; 9 Feb 2004 07:18:12 -0000 Message-ID: <402733FE.2000400@pricerunner.com> Date: Mon, 09 Feb 2004 08:17:18 +0100 From: =?ISO-8859-1?Q?Stefan_G=F6rling?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Configuring a Default Servlet References: <0ebd01c3eea4$c5054510$3201a8c0@rasta> In-Reply-To: <0ebd01c3eea4$c5054510$3201a8c0@rasta> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I want to have all incomming request forwarded to a default servlet. Depending on the URL the request is forwarded to a JSP-page (too dynamic to use apache mod_rewrite). The problem is that if I define the servlet as: custom /* It will work, but when I do getDispatcher("MyPage.jsp").forward(request,response), it will forward to the servlet in a recursive way. Is there any way to get a hold of a JSP-dispatcher when forwarding a request in order to do this? Best Regards, Stefan G�rling --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org