Can we write a constructor for a Servlet class ? if yes how ?
if no why not ?
Answer Posted / n.l.narayana
yes., when ever the servlet is executed .,it requires
configuration.,the configuration should be done in init()
method only.,
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What methodology can be followed to store more number of objects in a remote server?
Explain servlet.
What do you mean by the servlet chaining?
What are different ways for servlet authentication?
What are the key methods that are involved in processing of http servlets?
Why session tracking is needed?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
What are some disadvantages of storing session state in cookies?
What is the use of attribute in servlets?
Can you use javascript in servlets?
How will you pass values from HTML page to the servlet?
What is the difference between context parameter and context attribute?
What is a servlet?
What is the capacity the doget can send to the server?
What is the difference between CGI and Servlet?