Answer Posted / gaurav khanzode
Types of Servlet:
1.Generic Servlet : It is base class from which all Servlets
are derived.
2.HTTP Servlet : It is Extended by Generic Servlet.
| Is This Answer Correct ? | 30 Yes | 2 No |
Post New Answer View All Answers
What are the mechanisms used by a servlet container for maintaining session information?
How will two or three servlets interact or communicate with each other?
What are different Authentication options available in Servlets.
Why don't we write a constructor in a servlet?
Define the life cycle of a servlets.
Explain the difference between get and post method in servlet?
how many jsp scripting elements are there and what are those?
What is servlet and its advantages?
Is it good idea to create servlet constructor?
What is session?
What are the key methods that are involved in processing of http servlets?
Define the servlet mapping.
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!
What are the steps that are required to handle the multi-threading?
What is the directory structure of a war file?