The __________ method is used to read initialization parameters from ServletConfig.
- getConfig()
- getInitParameter()
- getParameters()
- initParams()
The getInitParameter() method is used to read initialization parameters from ServletConfig.
Loading...
Related Quiz
- Which HTTP header is commonly used to control cache behavior in web browsers?
- Which of the following is used to specify a servlet's name in the deployment descriptor?
- To set a date in a PreparedStatement, the method _________ is used.
- How does the load-on-startup element in web.xml affect a servlet's lifecycle?
- In a scenario where a filter needs to restrict access based on user roles, which object or method is essential for implementing this?