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

What is the use of servlet context?

0 Answers  


can i modify the data which are generated by the servlet

4 Answers  


How can an existing session be invalidated?

0 Answers  


What is the use of Servlets?

7 Answers   Infosys,


Can we override servlet service method?

0 Answers  


Some examples where generic servlet is used?

1 Answers  


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

0 Answers  


Hi Friends, Suppose you have a web appliction which consists of 100 clients are connected with Connection pooling and they are associated with 100 connection objcet and connected with DB sever,Due some problem DB-Server suddenly crashed and server came to down state for a while after few minutes DB-server once again up,Now how will I manage my Pool Management with my 100 clients...can any one tell me??????????????????

3 Answers   ProgressSoft,


What is the difference between 2 types of servlets?

0 Answers  


What is httpservlet and how it is different from genericservlet?

0 Answers  


What is servlet and its life cycle?

0 Answers  


Define servlet mapping?

0 Answers  


Categories