When a web application is redeployed with updated servlet configuration in web.xml, how does it affect the running servlets?
- The redeployment process has no impact on running servlets.
- The running servlets are automatically updated with the new configuration.
- The running servlets need to be restarted to apply the new configuration.
- The updated configuration only applies to newly created servlet instances.
When a web application is redeployed with updated servlet configuration, the running servlets are not automatically updated. To apply the new configuration, the running servlets need to be restarted.
Loading...
Related Quiz
- Which one directly interacts with the Java server pages (JSP) container?
- The _________ method is used to retrieve cookies from the request object.
- The CallableStatement method _________ is used to get the result set of a stored procedure.
- A web application requires users to log in for access. Which servlet feature should be implemented for this requirement?
- The __________ method of AsyncContext allows for manually controlling the timeout of an asynchronous operation.