What’s the use of the servlet wrapper classes??



What’s the use of the servlet wrapper classes??..

Answer / Mandeep Kumar

Servlet wrapper classes are used to adapt non-servlet components (like JavaServer Pages (JSP) and Java Server Faces (JSF)) to the Servlet API. This allows these components to be run within a servlet container.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

what are the disadvantages of cookies?

8 Answers  


why are using HttpServlet in realtime projects and why are not using Genericservlet

2 Answers  


What are the annotations used in servlet 3?

1 Answers  


If my browser does not support cookie, and my server sends a cookie instance what will happen?

1 Answers  


What are advantages of servlets over cgi?

1 Answers  


Which interface should be implemented by all servlets?

1 Answers  


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!

1 Answers  


How httpservlet is different from the genericservlet?

1 Answers  


What is Servlet Context?

5 Answers  


What is cookie in servlet?

1 Answers  


What method is used to create database connection in servlets?

2 Answers  


What is Server-Side Includes?

1 Answers   IBM, SAS,


Categories