Try application.getRequestDispatcher(URL).forward(request,response);

or

<jsp:forward page="/path/page.jsp" />

Also, you may want to do a

<%@ page flush="false" /> at the top of a page using the redirect as well as
pages being used by the redirect. Look at the JSP Syntax Card, at
java.sun.com (or javasoft.com). Go to products/apis, in the pull-down list
go to Java Server Pages, and on the far right side, towards the bottom,
you'll see a JSP Syntax Card PDF link. Go to it, print it out..live by it.
;)


> -----Original Message-----
> From: Ibrahim [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 1:05 AM
> To: [EMAIL PROTECTED]
> Subject: Help with Redirect
>
>
> I'm trying to do a redirect in JSP using response.sendRedirect...
> and i'm getting this weird page which is a combination of 2 -
> 3 html pages
> together with headers and the following:
>
> 0000" WIDTH="600">
>
> Document moved
> This document has moved
>
>
> Can anyone help?
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to