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
How can we include static files in the jsp page?
Explain servlet.
What is the procedure of invoking different servlet in a different application?
What is servlet api used for conneting database?
What are the steps involved in placing a servlet within a package?
What is ServletConfig object?
Define the servlet mapping.
Describe servlet?
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!
Write the code to get the server information in servlet.
Explain url encoding?
Is it good idea to create servlet constructor?
What are the uses of servlet
What is servlet configuration?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?