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
What is :: operator in java?
What are java packages? What is the significance of packages?
What is the public method modifier?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What is the purpose of tostring() method in java?
How to pass arraylist to stored procedure in java?
How can you generate random numbers in java?
Are primitives objects?
What is methodological theory?
What happens if an exception is throws from an object's constructor?
What do you understand by copy constructor in java?
What is a parameter in simple terms?
Who developed java?
Explain thread in java?
Can we define a package statement after the import statement in java?