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...


How can you maintain servlet chaining?



How can you maintain servlet chaining?..

Answer / bikash khuntia

you can maintain servlet chaining by using:

1. RequestDispatcher
2. include

Step 1: Set the request

request.setAttribute(key,value);

Step 2: Implimanting of RequestDispatcher

RequestDispatcher rsd = getServletContext().
getRequestDispatcher("Servletname");

Step 3: Forward or include the request and response by

rsd.forward(request,response);

rsd.include(request,response);

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Servlets Interview Questions

when will cookie information destroy?

7 Answers  


List out difference between a JavaBean from a Servlet?

0 Answers  


What is preinitialization of a servlet?

0 Answers  


Why filter is used in servlet?

0 Answers  


How can the session in servlet be destroyed?

0 Answers  


List some life cycle methods of a servlet.

0 Answers  


How can we perform any action at the time of deploying the project?

0 Answers  


What are common tasks performed by Servlet Container?

0 Answers  


What is the difference between using getSession(true) and getSession(false) methods?

0 Answers  


describe all about advanced java with presentation

4 Answers   Sun Microsystems,


How many ways are available to ger RequestDispatcher object?

4 Answers   Polaris,


What is load-on-startup in servlet?

0 Answers  


Categories