When we don't write any constructor for the servlet, how
does container create an instance of servlet?
Answer Posted / mahesh
Container creates instance of servlet by calling
Class.forName(className).newInstance().
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is the default http method in the servlet?
How to handle exceptions thrown by application with another servlet?
Write a program to show the functionality of doget and dopost method?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
What’s the difference between forward() and sendredirect() methods?
What is http servlet in java?
Write a hello world program using servlets.
Whether thread can be used in servlets?
How does tomcat servlet container work?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What is a server side include (ssi)
Differentiate between get and post?
Differentiate between the web server and application server?
What are the features added in Servlet 2.5?