Answer Posted / rajesh r
Yes we can obiviously create a contructor for SERVLETS
But it is toooo early to play with request or reponse
objects or any information regarding Context or Config
since these are not at all created if you put these in
constuctors..
Regards
Rajesh R
Rajeshr1988@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is difference between get and post method?
Why is servlet used?
When jsessionid is created?
What is session?
What is the difference between Server and Container?
What are the disadvantages of storing session state in cookies?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Can you refresh servlet in client and server-side automatically?
Write a servlet to upload file on server.
Explain web container.
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What are life cycle methods of a servlet?
Explain how does JSP handle run-time exceptions?
What are common tasks performed by Servlet Container?
Explain servlet events?