How is ServletConfig initialized?

  • Automatically by the container
  • Using a configuration file
  • Using constructor
  • Using init() method
The ServletConfig is automatically initialized by the container. It provides configuration information to the servlet and can be obtained using the getServletConfig() method.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *