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 are the drawbacks of cgi?

0 Answers  


Explain the concept of ssi ?

0 Answers  


Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?

7 Answers  


what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?

31 Answers   ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,


Name the webserver that is used to run Servlets?

5 Answers  


What are the methods in HttpSession and their use?

3 Answers  


The code in a finally clause will never fail to execute, right?

0 Answers  


How can we refresh automatically when new data has entered the database?

0 Answers  


What is the advantage of Servlets when compared with other server side technologies?

0 Answers  


What is the functionality of actionservlet and requestprocessor?

0 Answers  


What is the process for chaining servlet?

0 Answers  


Should I override the service() method?

0 Answers  


Categories