Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 94358 invoked from network); 7 May 2002 15:08:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 May 2002 15:08:33 -0000 Received: (qmail 26522 invoked by uid 97); 7 May 2002 15:08:06 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 26507 invoked by uid 97); 7 May 2002 15:08:06 -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 26494 invoked by uid 98); 7 May 2002 15:08:05 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: joshua wentworth To: Tomcat Users List Cc: okidz@pindad.com Message-ID: <011201c1f5d9$137bbfb0$5c0ba8c0@taalee.com> References: <001a01c1f543$b991f950$5c0ba8c0@taalee.com> <20020507071755.A642@okidz.pindad.co.id> Subject: Re: Tomcat redirect Date: Tue, 7 May 2002 11:08:41 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I was hoping of something within the Tomcat configuration itself since we don't use an index.jsp file. To be more specific about my problem, Whenever a servlet calls another servlet in Tomcat it isn't intercepting the /servlet/ directive and replacing it with /spike/servlet/ which is what it should be doing. Perhaps I'm overlooking something obvious in the configuration that will do this, but I've tried putting a Entry in the server.xml file, but that didn't seem to do it either... Someone smack me with a clue stick and tell me what I'm doing wrong? Josh ----- Original Message ----- From: "Oki DZ" To: "Tomcat Users List" Sent: Monday, May 06, 2002 8:17 PM Subject: Re: Tomcat redirect On 05/07 04:19 joshua wentworth wrote: > I am trying to have Tomcat redirect certain requests to other applications > or other sites. But I can't find anything in the documentation or in any of > the messageboards about any kind of forward or redirect function in Tomcat. > Is there such a function, and if so where can I find documentation on it? You can use the following in my index.jsp, so that the main page will be redirected to some other location: <% response.sendRedirect(response.encodeRedirectURL("")); %> Oki -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: