Can servlet initialization parameters be changed at runtime?
- It depends on the servlet container
- No
- Only through a filter
- Yes
No, servlet initialization parameters cannot be changed at runtime. They are set during the servlet's initialization and remain constant throughout the servlet's lifecycle.
Loading...
Related Quiz
- To mitigate DOM-based XSS attacks, one should avoid using _________ directly with user input.
- A __________ strategy in connection pooling helps to optimize resource utilization under varying load conditions.
- To secure a servlet, developers often use _________ combined with _________ to restrict access.
- How can a filter access initialization parameters set in the web.xml file?
- In SQL, the command ________ is used to permanently save changes made by the current transaction.