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 |
Can a servlet be called by passing its name as a parameter in the URL?
What is done after deploying a war file and before client gives a request
How can we create deadlock situation in servlet?
How to upload a file to the server using servlet?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
What is servletconfig?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
What is the use of RequestDispatcher in servlet?
18 Answers Accenture, CTS, TCS,
can we override service method in my servlet class..?? if yes or no why ??
Define the servlet mapping.
How servlets are deployed in java?
What is servlet and its life cycle?