When we don't write any constructor for the servlet, how
does container create an instance of servlet?
Answer Posted / sk.jani
In the Servlet if we are not using any constructor
internally the compiler create the default Constructor.if u
want to see that default Constructor user this folling
command.
javap classname.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the directory structure of a war file?
How to commuincate between an applet and a servlet?
Tell us something about servletcontext interface.
What is a servlet engine?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
Which http method is said to be non-idempotent and idempotent?
Why servlet is mostly used?
Explain the difference between get and post method in servlet?
What’s the use of the servlet wrapper classes??
What is java servlet session?
Can we fetch the attributes related to a servlet on a different servlet?
what do you understand by url rewriting?
Can you use javascript in servlets?
Explain get and post.
Tell us something about servletconfig interface.