What are different types of Servlets?

Answer Posted / shanmuk

At present in the market as all the popular webservers are using http protocol, we are using HttpServlet(by deriving some features from the GenerivServlet) .... and if in the future any webserver is developed based on the other protocols we need to define a new servlet. so, .....................

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the inter-servlet communication?

911


List out difference between a JavaBean from a Servlet?

734


What is httpservlet class?

740


What is the purpose of inter-servlet communication?

788


What is meant by session? Tell me something about httpsession class?

776


Which event is fired at the time of setting, getting or removing attribute from application scope?

860


What is servlet lazy loading?

885


What is java servlet?

787


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!

1993


What is ServletConfig object?

816


What is servlet and how it works?

673


List some life cycle methods of a servlet.

781


Explain the difference between servletconfig and servletcontext in servlet?

760


What is the difference between using getSession(true) and getSession(false) methods?

791


What is the difference in between the httpservlet and generic servlet?

832