This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes difference between response.sendRedirect and jsp forward tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "difference between response.sendRedirect and jsp forward tag" Watch "difference between response.sendRedirect and jsp forward tag" New topic
Author

difference between response.sendRedirect and jsp forward tag

sanpra sing
Greenhorn

Joined: Aug 28, 2002
Posts: 15
can somebody tell me the difference between the response.sendRedirect(String url) and the jsp forward tag?
Vedhas Pitkar
Ranch Hand

Joined: Jan 27, 2001
Posts: 445
Hi I think that <jsp:forward executes on the server while sendRedirect() executes on the client side.Saw this in Sun's quizzes(methinks).
M Suguna
Ranch Hand

Joined: Jun 07, 2002
Posts: 37
Check under the heading "Choosing Between Forward and Redirect" here


Who says nothing is impossible? I've been doing nothing for years
 
 
subject: difference between response.sendRedirect and jsp forward tag
 
Similar Threads
Difference between sendRedirect and forward
difference between RD and response.sendRedirect()
Struts ForwardAction vs Forward tag in jsp
sendRedirect()
sendRedirect & forward