What is the ServletConfig() and what is its use?
Answer Posted / tulasi vani
ServletConfig gives the information regarding the
configuration of the servlet.It provides the information
regarding the initialisation parameters which are specified
in the web.xml file.Its also contains an object of servlet
context which gives servlet information about the container
| Is This Answer Correct ? | 32 Yes | 3 No |
Post New Answer View All Answers
Explain how to improve Servlet Performance?
What are the ways to handle multi-threading in servlets?
How to get the server information in a servlet?
What is the difference between Server and Container?
If some new data has entered the database, explain how can a servlet refresh automatically?
How to get the actual path of servlet in server?
What’s the difference between forward() and sendredirect() methods?
What is preinitialization of a servlet?
Explain servlet events?
What do you mean by request dispatcher in servlet? Also explain its methods.
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What is http servlet in java?
How do I know if java is running on linux?
How do you create a cookie using servlet?
What is the procedure of invoking different servlet in a different application?