Can we write a constructor for a Servlet class ? if yes how ?
if no why not ?
Answer Posted / abc
you can write as like for regular class.
Is This Answer Correct ? | 10 Yes | 12 No |
Post New Answer View All Answers
What is servlet and its types?
What mechanisms are used by a Servlet Container to maintain session information?
What are the functions of Servlet container?
How can you create a session in servlet?
What is the procedure of invoking different servlet in a different application?
What is meant by session? Tell me something about httpsession class?
What methods do you use in servlet - applet communication?
Which method of the httpservletrequest object is used?
What are the life cycle methods of a servlet?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
What do you mean by cgi in servlet?
What's the difference between servlets and applets?
Which httpsession object is used to view and manipulate information about a session?
What is servlet and list its types?
What is servlet instance?