Hi guys.. Well can u tell me that why there is need of
"init()" , i mean why can not we initialize the servlet object
with the help of constructors?
Thank you.
Answer Posted / ravikiran.chd
no the servlet config object is only available at the time
init() method call
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we refresh servlet in client and server side automatically?
Why do we have servlet filters?
How to create war file?
What is the difference between a generic servlet and http servlet?
What is called Scriptlet?
How do you get the ip address of the client in servlet?
What is the process to implement doget and dopost methods?
What is the difference between the http servlet and generic servlet?
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
Explain the differences between jsp and servlet.
How will two or three servlets interact or communicate with each other?
What is a servlet?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
Explain the lifecycle of a servlet?
Explain the working of service() method of a servlet.