Initialization parameters for a servlet are configured in the _________ file.
- config.xml
- initparams.xml
- servlet.xml
- web.xml
Initialization parameters for a servlet are configured in the web.xml file.
Loading...
Related Quiz
- A servlet forwards a request to a JSP page for rendering the view. Which method does it use, and what happens to the URL in the browser?
- Memory leaks in Java often occur due to __________ objects not being released properly.
- At which stage in the filter lifecycle can you perform actions based on the initialization parameters?
- What is the primary purpose of using a connection pool in database interactions?
- Consider a servlet that initiates a long-running task asynchronously. What happens to the request thread during this task?