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
What is difference between jsp and servlet?
What is Request Dispatcher?
What do you mean by default initialization in java servlet?
Why are servlets used?
What are sessions in servlets?
Can we use threads in Servlets?
Can you use javascript in servlets?
What is the difference between using getSession(true) and getSession(false) methods?
What is a web application and what is it’s directory structure?
What are the exceptions thrown by servlets? Why?
Can we fetch the attributes related to a servlet on a different servlet?
What is servlet initializer?
How are filters?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
Why the container loads server at the application startup and how?