From users-return-137600-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Wed Dec 21 06:19:10 2005 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 77185 invoked from network); 21 Dec 2005 06:19:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Dec 2005 06:19:09 -0000 Received: (qmail 57531 invoked by uid 500); 21 Dec 2005 06:18:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57272 invoked by uid 500); 21 Dec 2005 06:18:54 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57260 invoked by uid 99); 21 Dec 2005 06:18:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2005 22:18:54 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [80.236.3.114] (HELO kernighan.numericable.net) (80.236.3.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2005 22:18:53 -0800 Received: (qmail 13096 invoked from network); 21 Dec 2005 06:18:31 -0000 Received: from unknown (HELO [192.168.77.1]) ([82.216.4.103]) (envelope-sender ) by kernighan.numericable.net (qmail-ldap-1.03) with SMTP for ; 21 Dec 2005 06:18:31 -0000 Message-ID: <43A8F2B9.2050102@yahoo.com> Date: Wed, 21 Dec 2005 07:14:17 +0100 From: "Seak, Teng-Fong" User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to make a redirector? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Caldarale, Charles R wrote: >>From: Seak, Teng-Fong [mailto:seak_tengfong@yahoo.com] >>Subject: How to make a redirector? >> >> I've seen some URL which contains two URL's, something like >>http://www.siteA.com/xxxxx/http://www.siteB.com/some/path/here/ >> >> > >Are you sure you're not missing a rather important "?" between the siteA >URL and the one for siteB? The presence of the "?" indicates the second >URL is treated as a parameter for whatever processes the first one; a >simple forwarding filter, servlet, or jsp would then suffice. > > - Chuck > > In some sites that I've come across, there's no "?". Actually, after some thinking, I know what I wanted is called. It's simply a proxy :D So I think I just need a proxy, no need to programme Tomcat to act like this. Thanks for the replies :) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org