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

What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

608


Is a case study a method or methodology?

460


How we can make copy of a java object?

644


Difference between concurrent hashmap and hashtable and collections

561


What is the basic concepts of OOPS?

679






Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

606


What is the reflection?

556


How can you share data between two thread in Java?

519


How we can declare a static variable?

649


Why deletion in linkedlist is fast than arraylist?

533


What is treemap in java?

549


How are multiple inheritances done in Java?

614


How many bits is a word?

554


What is a boolean used for?

582


What is the purpose of extern variable?

528