what is difference between redirect and forward method?

Answer Posted / v.kannan

In sendRedirect Each and Every time new Client side Object
will Create.Changes will be updated in request Pages.
Session Object will not alive.
In sendRedirect we can transfer the control(request) from
one webserver(welogic) to another one webserver(Jboss).

It's not possible in jsp:forward

Is This Answer Correct ?    8 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are the request.getrequestdispatcher() and context.getrequestdispatcher() used?

617


Show attributes of page directives.

561


Define JSP Scriptlet.

555


What is declaration statement?

506


How many tags are provided by jstl?

479






What is jsp expression?

509


What do you mean by context initialization parameters?

488


Which one is better jsp or servlet?

469


What is the standard action?

592


What is pagecontext?

520


Explain the uses of jsp?

535


What is jsp include tag?

513


Mention the advantages of jsp over pure servlets?

499


When does a container initialize multiple jsp objects?

487


What are scriptlets in jsp?

515