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
What happens if an exception is throws from an object's destructor?
What is javac_g?
How do you include a string in java?
How do you compare values in java?
Define class?
When should a function throw an exception?
Why is string class considered immutable?
What is java volatile?
what do you mean by java annotations?
Can a static member function access member variable of an object?
Is java map thread safe?
Why does java have two ways to create child threads?
Tell me about different OOPS concepts.
Why is java called java?
When to use runnable interface vs thread class in java?