What is the difference between <jsp:forward> and
sendRedirect?

Answer Posted / raghu

Send redirect will happen on client side & request, response
will be newly created, for forward action it is server side
action & request and response is passesd & not modified or
destoyed

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between servletcontext and pagecontext?

541


What is the use of implicit object named "application" in Application?

1263


What is attribute in jsp?

520


What is jsp and its architecture?

523


Can we call destroy method inside init method?

488






What are the two kinds of comments in jsp and what's the difference between them ?

547


How can I enable session tracking for jsp pages if the browser has disabled cookies?

534


What is the jsp:setproperty action?

552


What is jstl core tags?

498


How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?

566


Explain some jsp life-cycle methods that can be overridden.

507


What are stored procedures? How is it useful?

514


What is request getcontextpath ()?

514


Why is used in jsp?

499


What is the use of requestdispatcher?

532