when a servlet sends request for first time it uses the
follwing methods
a)init
b)doget()
c)dopost()
d)service
Answer Posted / sowmya
A servlet can receive a request or forward the request to
another component in an application.
When a servlet receives a request, if it is already
initialized, then the service() method is called. If not
then its constructor is called and then its init() method.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
How to set the permissions to a file in java?
What is the output of the below java program?
What is role of void keyword in declaring functions?
What is meant by distributed application? Why are we using that in our application?
What do you mean by ordered and sorted in collections in java?
How do I get 64 bit java?
Why is flag used in java?
How do you override a method?
What is collections framework?
When do you call copy constructor?
How can an exception be thrown manually by a programmer?
What is meant by nested loop?
Why java is made?
What is passing value java?
How do you differentiate abstract class from interface?