Can we define constructor in Servlet class?
Answer Posted / sitaram
in java, we can access any class, first JVM search the any
type(with or with out parameters) constructor. if it their
the same constructor will be calling other wise JVM create
the default constructor for that class.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
How do you deal property files in servlet?
What is called a session?
What is meant by a servlet?
What is cgi?
What do you mean by interservlet communication?
What is the use of java servlet api?
What is Client-Server Computing?
Explain servlet events?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
Why do we need a constructor in a servlet if we use the init method?
Is servlet a controller?
Can you refresh servlet in client and server-side automatically?
What is the process to implement doget and dopost methods?
Explain load on start-up and its importance?
How can I send user authentication information while making URL Connection?