what is sendredirect?

Answer Posted / sushila

while writing the sendRedirect, control is going back to
browser and browser is making request for target url. result
is not storing to any where, simply control is going to new
request. at that time parameter and argument is nullify.

so result is not available to new request. we can achieve
parameter values and arguments value through query stream.

basically sendRedirect is used for across the application
but within the same server.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to avoid memory leak in java?

596


What are loops in java? What are three types of loops?

550


Does variable declaration allocate memory?

582


what is the purpose of "virtual"?

568


Explain about complier design(phases)

627






Is java same as core java?

587


Which list does not allow duplicates in java?

512


What is type conversion in java?

575


Are primitives objects?

566


What are static variables and functions?

620


Explain polymorphism citing an example.

592


Difference between a class and an object?

576


How can you share data between two thread in Java?

522


What is identifier in java?

555


Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?

577