Can we define constructor in Servlet class?
Answer Posted / jayakrishna
init() is there what is the need of constructor.If is ther
who will call the constructor? servlet container will call
the init method
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is the servlet?
What are the type of protocols used in httpservlet?
How to generate the server side programming and the advantages of it over the other languages?
Given the request path below, which are context path, servlet path and path info?
What do you mean by cgi in servlet?
What are the functions of the servlet container?
What is a cookie What is the difference between session and cookie
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
How can you run a servlet program?
What are different ways for authentication of servlet?
What is preinitialization of a servlet?
What are important features of Servlet 3?
Can we fetch the attributes related to a servlet on a different servlet?
What is the use of request dispatcher interface?
Which is better jsp or servlet?