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 the difference between servlet and jsp?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
How can you create a session in servlet?
Explain the war file?
List out difference between a JavaBean from a Servlet?
How to get the path of servlet in the server?
What are the life cycle methods of the servlet?
How can a servlet be used to generate plain text instead of html?
Which interface should be implemented by all servlets?
How can we create deadlock situation in servlet?
What is the difference between Difference between doGet() and doPost()?
What is a deployment descriptor?
How do you run a servlet?
What is the servlet?
What is servlet mapping?