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

Why does _jspService() start with an ‘_’ but other lifecycle methods do not?

528


List the various action tags used in jsp.

499


Which of the following action variable is used to include a file in jsp?

485


What is the difference between java servlet and jsp?

490


What is jsp in html?

506






What’s the difference between forward and sendredirect?

552


Can we define a class in a jsp page?

497


What is a declaration?

520


What are directives in jsp?

493


What are action tags?

493


How did you implement caching in jsp?

596


How do you connect to the database from jsp?

538


What are jsp el implicit objects and how it’s different from jsp implicit objects?

513


How do I prevent the output of my jsp or servlet pages from being cached by the browser?

514


What is jsp api?

476