What is the ServletConfig() and what is its use?
Answers were Sorted based on User's Feedback
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 |
Answer / ramesh nagula
A servlet configuration object used by a servlet container
used to pass information regarding the initialisation
parameters which are specified
in the web.xml file to a servlet during initialization
Is This Answer Correct ? | 14 Yes | 3 No |
Answer / jiban
ServletConfig as the name implies provide the information about configuration of a servlet which is defined inside the web.xml file or we can say deployment descriptor.its a specific object for each servlet
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dileep
which describes the configureation of our servlet.
generally we will declare all member variables and nmember
functiions inside init() method.thats why we are passing
ServletConfig as parameter to every init() method of the
servlet.
Is This Answer Correct ? | 8 Yes | 8 No |
How do servlets work?
Explain the servlet context.
If you want to modify the servlet,will the Webserver need to be ShutDown ?
What is the life-cycle of servlets?
What is dispatcher servlet?
Which method of the httpservletrequest object is used?
How a servlet is unloaded?
Can you explain in detail 'javax.servlet' package?
What is with the javax.servlet package naming?
How to get the current httpsession object?
What is the difference between a generic servlet and http servlet?
Hi Friends, Suppose you have a web appliction which consists of 100 clients are connected with Connection pooling and they are associated with 100 connection objcet and connected with DB sever,Due some problem DB-Server suddenly crashed and server came to down state for a while after few minutes DB-server once again up,Now how will I manage my Pool Management with my 100 clients...can any one tell me??????????????????