Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 43346 invoked by uid 500); 16 May 2002 02:45:16 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 43334 invoked from network); 16 May 2002 02:45:16 -0000 From: "Vadim Gritsenko" To: Subject: RE: help with redirect and forward Date: Wed, 15 May 2002 22:44:40 -0400 Message-ID: <002d01c1fc83$a084fd30$7574558b@vgritsenkopc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Vij, Bhavna [mailto:bav2@njit.edu] > > Hi All, > I am not able to redirect or forward to another pages > I need to do something like that. > There's a login page with username and password. If the login is > successfull, I need to forward it to page1 else I need to go back to login > page and display error. > I am able to access the request parameters but neither redirect nor forward > works....... > > Neither of the following works > - response.sendRedirect("http://localhost:8888/cocoon/"); > > - > - Try using this as close to the top of the page as possible - might help... > Can someone help me with that...... > Any help will be greatly appreciated... ...also it is not a good idea to redirect from the page. Do this from sitemap and you will have much fewer issues. Vadim > > Thanks in Advance, > Bhavna --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: