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
How to avoid memory leak in java?
What are loops in java? What are three types of loops?
Does variable declaration allocate memory?
what is the purpose of "virtual"?
Explain about complier design(phases)
Is java same as core java?
Which list does not allow duplicates in java?
What is type conversion in java?
Are primitives objects?
What are static variables and functions?
Explain polymorphism citing an example.
Difference between a class and an object?
How can you share data between two thread in Java?
What is identifier in java?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?