Return-Path: Delivered-To: apmail-incubator-click-dev-archive@locus.apache.org Received: (qmail 91983 invoked from network); 25 Aug 2008 16:26:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Aug 2008 16:26:56 -0000 Received: (qmail 13619 invoked by uid 500); 25 Aug 2008 16:26:54 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 13606 invoked by uid 500); 25 Aug 2008 16:26:54 -0000 Mailing-List: contact click-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-dev@incubator.apache.org Received: (qmail 13595 invoked by uid 99); 25 Aug 2008 16:26:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 09:26:54 -0700 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=MISSING_HEADERS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sabob1@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 16:25:56 +0000 Received: by py-out-1112.google.com with SMTP id u52so1080446pyb.13 for ; Mon, 25 Aug 2008 09:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=dTsvYPzzmb8fmBHnptBfukooJMqsZcB9qgd0ecVODNA=; b=lNzXV6XX+kK0jIKtn6eB5mOGClIGPSGNR7WnwpX6dw8p9y/M5H1FIlqJZzySAZfjLG jJF7KpDQ6YQXjuYT15+eBWjfQmu5/4ZhH9v4bZOndTe3DvRUkM1zKw2cZWRrDYbxEFve 55PE9GqHGRdEsxR8SqxDTzVpFEKPJcX62AEzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; b=YQh+siZOaIPKxGX68noAx45XsJq0wSeCsFpOnl00xxZE2VhNL81St7N3EORKdnCcgf yRPkEewRqHYDTXEgVqkCnC4WEGOm2STj8VbS+Puj7ODhDCfFIMLAXpPI6Kgv+nDqD/Yd YH9U8B0zrNgiOHh5j6MvkhebKtDvQHjWOY/uY= Received: by 10.64.201.16 with SMTP id y16mr9188618qbf.97.1219681568834; Mon, 25 Aug 2008 09:26:08 -0700 (PDT) Received: from ?10.0.0.100? ( [41.240.176.236]) by mx.google.com with ESMTPS id k29sm1436293qba.7.2008.08.25.09.26.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 25 Aug 2008 09:26:08 -0700 (PDT) Message-ID: <48B2DD16.3010803@gmail.com> Date: Mon, 25 Aug 2008 18:25:58 +0200 From: Bob Schellink User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 CC: click-development , click-dev@incubator.apache.org Subject: Re: JSP forwarding issues References: <48B1A304.1060806@gmail.com> <21bdcc640808241338q212db36fj1faaaf0043a41b81@mail.gmail.com> <48B1C9E7.9030208@gmail.com> <21bdcc640808241701j3715aedfo7f87f08e6c9e9924@mail.gmail.com> In-Reply-To: <21bdcc640808241701j3715aedfo7f87f08e6c9e9924@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Michael Hall wrote: > > How about making Page.setForward bypass > HttpServletRequest#getRequestDispatcher if Context#getPageClass finds a > matching page class. If the intention is to run the Page class for the > path, can we do that directly in Click without falling back to the > Servlet mechanisms? Interesting approach. One to thing to watch out for here is that filters will be bypassed. Regardless of how we do it (RequestDispatcher or direct) I am just not sure we second guess the user when they forward or redirect to a jsp page. As nobody has raised an issue about this, perhaps the current behavior is correct? In fact the one issue that was raised seemed to indicate that redirect should not convert from jsp to htm.