How threads are implemented in servlets?

Answer Posted / ravikiran(aptech mumbai)

During servicing any request the container will create a
thread or will get a thread from a thread pool.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can create war file in servlet?

657


Why do we have servlet wrapper classes?

575


What are the uses of servlets?

619


Explain is servlet mapping?

578


what is multiple server?

1756






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!

1831


What is meant by servlet? What are the parameters of the service method?

570


Can we override destroy method in servlet?

495


What is servlet used for?

694


Define the life cycle of a servlets.

572


Explain how to improve Servlet Performance?

594


How do you find out what client machine is making a request to your servlet

529


request parameter how to find whether a parameter exists in the request object?

568


How can I send user authentication information while making URL Connection?

541


Explain the difference between servletconfig and servletcontext in servlet?

565