New User ? Sign Up  |  Sign In  |  Help

Ask
Answer
Analyse
     
Search for questions :
My Profile

anonymous

Open Questions Bookmark and Share

Difference between forward and sendRedirect?


309 day(s) ago

    Comment(s) (0)
    Report Abuse
   Find Interesting  
   Email to Friends  
   Bookmark  
   Subscribe to Answer Alert  
No comments yet !!!     Be the first to ocmment !!!
Answers (1)

anonymous
When you invoke a forward request, the request is sent to another resource on the server, without the client being informed that a different resource is going to process the request. This process occurs completely with in the web container. When a sendRedirtect method is invoked, it causes the web container to return to the browser indicating that a new URL should be requested. Because the browser issues a completely new request any object that are stored as request attributes before the redirect occurs will be lost. This extra round trip a redirect is slower than forward.

Posted 309 dy ago

( 0 )
( 0 )
    Comment(s) (0)
   Report Abuse
No comments yet !!! Be the first to comment on this answer !!!

Edit your answer. Click save, when done.
Question Title Difference between forward and sendRedirect?
Your Answer
  |         |                            
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link.
Caption :
Link URL :
( Must starts with "http://" )
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :  
( Image url must always starts with " http:// " )
Width : pixels
( Must not be greater than 450px. Enter 0px for no resize )
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Max Allowed Characters: 5000 Current Character Count: 0
  Your comment on this question
  |         |                            
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link.
Caption :
Link URL :
( Must starts with "http://" )
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :  
( Image url must always starts with " http:// " )
Width : pixels
( Must not be greater than 450px. Enter 0px for no resize )
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Max Allowed Characters: 5000 Current Character Count: 0
  Your comment on this answer
  |         |                            
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link.
Caption :
Link URL :
( Must starts with "http://" )
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :  
( Image url must always starts with " http:// " )
Width : pixels
( Must not be greater than 450px. Enter 0px for no resize )
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Max Allowed Characters: 5000 Current Character Count: 0
Email this question link to friends
You must enter email-address, if name is entered and vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -

Top searches


Time2Ask.com on face book Time2Ask.com on Twitter Time2Shaadi.com Promote your business

© 2008-2011.Time2Ask does not guarantee the accuracy of any Time2Ask.com content.All product names are trademarks of their respective companies.We are not endorsed by or affiliated with any company listed at this site and any other company.