Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 86378 invoked by uid 500); 13 Apr 2001 15:43:29 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 86366 invoked from network); 13 Apr 2001 15:43:28 -0000 Message-ID: <3AD71E3D.1C3DF3B0@apache.org> Date: Fri, 13 Apr 2001 11:41:49 -0400 From: Berin Loritsch X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "cocoon-dev@xml.apache.org" Subject: Standardizing Redirect in Cocoon Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N As of Servlet 2.3, the spec officially states that redirects to "/" get sent to the server root. I can think of many cases where an easy redirect to the context root is important. To that end, I propose that the redirect() method should be wrapped, and if the "context:" protocol is specified, then the URL should be relative to the context root. This should be easy in Cocoon 2, because we are limiting the access to the redirect function--I don't know about Cocoon 1. --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org