<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - respose.sendRedirect(URL) Vs RequestDispatcher</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Sat, 25 May 2013 05:09:08 -0400</pubDate>


    <item>

        <title>Performance difference</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[Hi Paul,...]]></description>
        

        <pubDate>Tue, 24 Jun 2008 19:46:50 -0400</pubDate>

        

        <jf:creationDate>Tue, 24 Jun 2008 19:46:50 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 24 Jun 2008 19:46:50 -0400</jf:modificationDate>
        <jf:date>Jun 24, 2008</jf:date>
        <jf:author>Smita Lohia</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Thats great</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[Really i never read such a realtime differnces.
Ur answer is great
Thanks
Sravi]]></description>
        

        <pubDate>Thu, 17 Apr 2008 16:27:04 -0400</pubDate>

        

        <jf:creationDate>Thu, 17 Apr 2008 16:27:04 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 17 Apr 2008 16:27:04 -0400</jf:modificationDate>
        <jf:date>Apr 17, 2008</jf:date>
        <jf:author>Vijaya Sravanthi</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: respose.sendRedirect(URL) Vs RequestDispatcher</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[Paul,


Excellent explanation, I have been using "forward" but not sure of the exact difference between "Redirect" and "forward".

Thanks a lot ..

Kiran.]]></description>
        

        <pubDate>Tue, 07 Nov 2006 14:00:19 -0500</pubDate>

        

        <jf:creationDate>Tue, 07 Nov 2006 14:00:19 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 07 Nov 2006 14:00:19 -0500</jf:modificationDate>
        <jf:date>Nov 7, 2006</jf:date>
        <jf:author>Kiran Gudipati</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Why respose.sendRedirect(URL) Vs RequestDispatcher</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[<blockquote>Hi<br><br>In a servlet when I use response.sendRedirect() and then if I put some state ment like one System.out.println(); after that line of code it gets executed...it works same for RequestDipsatcher also.<br><br>My question is : The...]]></description>
        

        <pubDate>Sat, 21 Oct 2006 06:38:39 -0400</pubDate>

        

        <jf:creationDate>Sat, 21 Oct 2006 06:38:39 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 21 Oct 2006 06:38:39 -0400</jf:modificationDate>
        <jf:date>Oct 21, 2006</jf:date>
        <jf:author>Ion Dumneanu</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>request for an example</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[hi,

The concept was explained well.i understood it.
i request u to show an example which uses redirect 
technique.]]></description>
        

        <pubDate>Mon, 15 May 2006 01:33:24 -0400</pubDate>

        

        <jf:creationDate>Mon, 15 May 2006 01:33:24 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 15 May 2006 01:33:24 -0400</jf:modificationDate>
        <jf:date>May 15, 2006</jf:date>
        <jf:author>yatish katira</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>respose.sendRedirect(URL) Vs RequestDispatcher</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[<blockquote>Is it the same as --&gt; jsp:include and %@ include directive.</blockquote>Actually, &lt;jsp:include&gt; vs. &lt;%@ include %&gt; is a different story.<br><br>&lt;%@ include %&gt; is a &quot;compile-time&quot; include. The included file is...]]></description>
        

        <pubDate>Sat, 12 Jun 2004 10:19:23 -0400</pubDate>

        

        <jf:creationDate>Sat, 12 Jun 2004 10:19:23 -0400</jf:creationDate>
        <jf:modificationDate>Sat, 12 Jun 2004 10:19:23 -0400</jf:modificationDate>
        <jf:date>Jun 12, 2004</jf:date>
        <jf:author>Paul Strack</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>respose.sendRedirect(URL) Vs RequestDispatcher</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[Thanks Paul.<br><br>Is it the same as --&gt; jsp:inculde and %@ include directive.]]></description>
        

        <pubDate>Fri, 11 Jun 2004 19:01:36 -0400</pubDate>

        

        <jf:creationDate>Fri, 11 Jun 2004 19:01:36 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 11 Jun 2004 19:01:36 -0400</jf:modificationDate>
        <jf:date>Jun 11, 2004</jf:date>
        <jf:author>ram kol</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>And that's why...</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[... we tell people to put a return statement right after the response.sendRedirect statement.  That prevents some hard to debug errors that result from the programmer thinking sendRedirect is an immediate exit from the method.]]></description>
        

        <pubDate>Thu, 10 Jun 2004 07:52:44 -0400</pubDate>

        

        <jf:creationDate>Thu, 10 Jun 2004 07:52:44 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 10 Jun 2004 07:52:44 -0400</jf:modificationDate>
        <jf:date>Jun 10, 2004</jf:date>
        <jf:author>Yoav Shapira</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>respose.sendRedirect(URL) Vs RequestDispatcher</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[<blockquote>I understood what ever u said but in case of both redirect() and RequestDispatcher when is the control forwared to the next Servlet/JSP only when the execution of the whole service method compltes or when that line is hit?</blockquote>It...]]></description>
        

        <pubDate>Tue, 08 Jun 2004 11:33:25 -0400</pubDate>

        

        <jf:creationDate>Tue, 08 Jun 2004 11:33:25 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 08 Jun 2004 11:33:25 -0400</jf:modificationDate>
        <jf:date>Jun 8, 2004</jf:date>
        <jf:author>Paul Strack</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>respose.sendRedirect(URL) Vs RequestDispatcher</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[That was awsome !!! And the way U explained it also is fantastic....thanks a lot.<br><br>I understood what ever u said but in case of both redirect() and RequestDispatcher when is the control forwared to the next Servlet/JSP only when the execution of...]]></description>
        

        <pubDate>Mon, 07 Jun 2004 23:40:23 -0400</pubDate>

        

        <jf:creationDate>Mon, 07 Jun 2004 23:40:23 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 07 Jun 2004 23:40:23 -0400</jf:modificationDate>
        <jf:date>Jun 7, 2004</jf:date>
        <jf:author>Sabyasachi Chowdhury</jf:author>
        <jf:replyCount>5</jf:replyCount>
    </item>


    <item>

        <title>respose.sendRedirect(URL) Vs RequestDispatcher</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[<blockquote>What is the difference between this two other than one is client side and the other is server side?</blockquote>That is the key difference, but this has some important implications:<br><br>1) If you use a RequestDispatcher, the target...]]></description>
        

        <pubDate>Mon, 07 Jun 2004 15:37:03 -0400</pubDate>

        

        <jf:creationDate>Mon, 07 Jun 2004 15:37:03 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 07 Jun 2004 15:37:03 -0400</jf:modificationDate>
        <jf:date>Jun 7, 2004</jf:date>
        <jf:author>Paul Strack</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>respose.sendRedirect(URL) Vs RequestDispatcher</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=26425</link>

        

        
            <description><![CDATA[Hi<br><br>In a servlet when I use response.sendRedirect() and then if I put some state ment like one System.out.println(); after that line of code it gets executed...it works same for RequestDipsatcher also.<br><br>My question is : The control is passed...]]></description>
        

        <pubDate>Mon, 07 Jun 2004 09:40:37 -0400</pubDate>

        

        <jf:creationDate>Mon, 07 Jun 2004 09:40:37 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 07 Jun 2004 09:40:37 -0400</jf:modificationDate>
        <jf:date>Jun 7, 2004</jf:date>
        <jf:author>Sabyasachi Chowdhury</jf:author>
        <jf:replyCount>11</jf:replyCount>
    </item>



</channel>
</rss>

