Explain Servlet Chaining ?

Answer Posted / keshav

servlet chaining is also called as servlet to servlet communication. we apply chaining in following two ways.
1.when we devide one servlet logic into multiple servlets.
2.when we want to include one servlet response into another servlet.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we include static files in the jsp page?

615


Explain servlet.

571


What is the procedure of invoking different servlet in a different application?

563


What is servlet api used for conneting database?

701


What are the steps involved in placing a servlet within a package?

593






What is ServletConfig object?

611


Define the servlet mapping.

548


Describe servlet?

582


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

1838


Write the code to get the server information in servlet.

574


Explain url encoding?

521


Is it good idea to create servlet constructor?

744


What are the uses of servlet

635


What is servlet configuration?

532


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

568