did u try this?
 response.setHeader("Refresh", "1; URL=" + newLocation);
It will redirect to the new location.



>MIME-Version: 1.0
>Date: Thu, 21 Oct 1999 17:15:07 -0400
>From: Sivagama Sundari <[EMAIL PROTECTED]>
>Subject: sendRedirect() does not work
>To: [EMAIL PROTECTED]
>
>Hi folks,
>I have a form that uses the POST method to submit the data.After the
>submission I would like to refresh the page.For this Iam using
>response.sendRedirect(URL).It works in IE but  doesnt work in Netscape.Iam
>getting the error "Document contains no data".
>
>Any idea why this is happening?
>Also,is there a way to debug the code using JRun? Jrun 2.2 used to have a
>console but 2.3 doesnt show up any console.
>
>TIA
>Sundari
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

                Thank you
                Saminathan Seerangan
                510-574-7898

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to