what is the control flow in servlet when we send a request?
Answer Posted / lucky
Servlet: is used to create web tech,its based component to create web app ,its a server side component, its a java obj which implements directly or indirectly implemented by Servlet interface , its a singleton obj and multithreaded model and security, its an interface having abstract methods init , service ,destroy, config , info and these inti ,service , destroy are life cycle method, remain are programmer initialized ,whn user send a req to peticular serlet req reach to server thne server jvm check url pattern in deployment descriptor file then it find url server take url and check with the corresponding servlet if its finds that servlet then server jvm wil create servlet obj then it will cal life cycle methods and son ........................
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How servlet is created?
What is lazy loading and what is Generic Servlet Class?
What is the use of request dispatcher interface?
Where do you define dispatcherservlet?
What is meant by a servlet?
What do you mean by url pattern in servlet?
Tell us something about servletconfig interface.
How we can create war file in servlet?
What’s the difference between sendredirect and forward methods
Why are servlets used?
Differentiate between the get and post method
Can you explain in detail 'javax.servlet' package?
What is called Scriptlet?
What is session tracking?
How to generate the server side programming and the advantages of it over the other languages?