🎴 Flashcard Mode

JSP and Servlets Fundamentals

Card1 / 20
Mastered0
Review0
QuestionClick to flip

A servlet can handle multiple requests concurrently.

AnswerClick to flip back
A
True
💡 Explanation:

A single servlet instance typically handles multiple concurrent requests using a multi-threaded model. The container creates one instance (or a pool) and dispatches multiple threads to the service() method simultaneously. Each thread handles one request, allowing efficient resource utilization. Developers must ensure thread-safety in servlet code since instance variables are shared across threads.

Change Mode