When we don't write any constructor for the servlet, how
does container create an instance of servlet?
Answers were Sorted based on User's Feedback
Answer / mahesh
Container creates instance of servlet by calling
Class.forName(className).newInstance().
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / 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 |
Why servlet is mostly used?
how to make the IP address to .com
How multiple simultaneous requests can be handled by servlets?
What is forward() and include() of servlets RequestDispatcher interface?
what happens if we wont use destroy()?
can u give some realtime example in ploymorphism? and inheritance?
What are different types of SessionTracking?
How do we share data using 'getservletcontext ()?
Why do we need servlet filter?
How to generate the server side programming and the advantages of it over the other languages?
How to make servlet thread safe?
9 Answers Frisco Tech, InfoVista, WipSys Technologies,
when the several requests comes to server..how it manage the requests