Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is sendredirect?

Answers were Sorted based on User's Feedback



what is sendredirect?..

Answer / ajay dhingra

opposite is rite.....

incase of forward the request parameter will also go with
the url.

incase of sendredirect all the parameter in the request will
be killed.

Is This Answer Correct ?    7 Yes 0 No

what is sendredirect?..

Answer / jasjit singh

This is a client side reDirect.When a sendRedirect method
is invoked, it causes the web container to return to the
browser indicating that a new URL should be requested.
Because the browser issues a completely new request any
object that are stored as request attributes before the
redirect occurs will be lost.

Is This Answer Correct ?    1 Yes 1 No

what is sendredirect?..

Answer / 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

what is sendredirect?..

Answer / sheetal sonare

For multiple server load balancer requires. And load balancer maintains the stickiness. subsequent request always goes to same server unless session/state is maintained by explicit server.

Is This Answer Correct ?    0 Yes 0 No

what is sendredirect?..

Answer / shahnawaz sheikh

sendRedirect is used in JSP pages for transfering to any
other jsp page with all the request parameters intact with
the request.

While in case of forward the parameters are not send with
the request only the url is send for transferring to any
other jsp page.

Is This Answer Correct ?    2 Yes 3 No

what is sendredirect?..

Answer / jogandra singh

basically sendRedirect is used with same application or
other application on same server or other server.

Is This Answer Correct ?    0 Yes 1 No

what is sendredirect?..

Answer / mekala devi pollachi

we can use this sendredirect in servlets here session values
are passed to jsp pages

jsp-->servlet(sendredirct)-->jsp

example:
choice = "chioiceName";
String url = "Home.do" + "?choice=" + choice;
response.sendRedirect(url);

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

Does java support Operator Overloading?

0 Answers   Flextronics,


1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?

3 Answers   TCS,


Explain java coding standards for methods?

0 Answers  


What are the advantages of defining packages in java?

0 Answers  


What are heap memory and stack memory and what are memory tables.

0 Answers   Aspiring Minds,


What is meant by data hiding in java?

0 Answers   Aspire, Infogain,


What does this mean java?

0 Answers  


In what circumstances, compiler will supply a default constructor for a class?

4 Answers  


What is the basically use of finally while we know it is always executed but why?

5 Answers   Oracle, TCS,


How can we create a synchronized collection from given collection?

0 Answers  


How are variables stored in memory?

0 Answers  


what is bytecode? watz the difference between machine code and bytecode?

9 Answers   Oracle,


Categories