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
Can we override data members in java?
How do you find the absolute value?
What does nullpointerexception mean?
How many java versions are there?
Define interface in java?
What are 4 pillers of object orinted programming?
Difference between a process and a program?
What is thread life cycle?
What is polymorphism java example?
Can a class have multiple subclasses?
What are the two categories of data types in the java programming language?
What is the significance of listiterator?
What is a stack class in java ?
What is string in java?
What is a buffer in computer?