What are different types of Servlets?

Answer Posted / priyanka prataprao pawde.

two types of servlets:

1.Generic Servlets.
2.HTTP Servlets.

Is This Answer Correct ?    34 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet and list its types?

764


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

827


What is the process for chaining servlet?

786


Which interface should be implemented by all servlets?

921


What do you mean by servlet?

901


How do you get the ip address of the client in servlet?

744


How servlet is created?

776


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!

1995


Explain session tracking and its importance?

733


What is a generic servlet?

685


Difference between get and post in java servlets?

754


How to get the IP address of client in servlet?

819


What is the inter-servlet communication?

919


Write a hello world program using servlets.

783


Explain web application directory arrangement?

781