but the rigth method is "response.sendRedirect(String destination)". Why you
use "response.redirect()" ?

-----Messaggio originale-----
Da: Mauro Gagni (EMS) <[EMAIL PROTECTED]>
A: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Data: mercoled� 28 giugno 2000 11.08
Oggetto: Re: response.redirect


>Hi,
> I had the same problem and that is the way it work, it compute the code
>until the end of the page.
>I noticed that it actually creates a new thread for the redirection, while
>the old one keeps executing until it eventually dies at the end of the
page.
>
>hope it did help,
>mauro
>
>> -----Original Message-----
>> From: A mailing list about Java Server Pages specification and reference
>> [mailto:[EMAIL PROTECTED]]On Behalf Of John Doe
>> Sent: 28 June 2000 02:40
>> To: [EMAIL PROTECTED]
>> Subject: response.redirect
>>
>>
>> Hello,
>> Can someone give a detailed explanation of how
>> response.redirect() works.  I
>> looked at the API and its not very detailed.
>>
>> The reason for this is that it seems that if I have html or java
>> code AFTER a
>> redirect on a JSP page, that code still gets executed.  This is not the
>> behavior i want.  With a forward I know that all execution stops
>> and a forward
>> takes place.  Is this not the case with a redirect??
>>
>> thanks in advance.
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Get Yahoo! Mail - Free email you can access from anywhere!
>> 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

===========================================================================
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