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
What is cgi?
What is the use of servlet context?
Write a command to get actual path of a servlet to the server?
What are different ways for authentication of servlet?
What is the purpose of dispatcherservlet properties?
What do you mean by chaining in servlet?
How will two or three servlets interact or communicate with each other?
Explain the architechure of a servlet?
Describe some assignments that are executed by servlet container?
What are the different methods involved in the process of session management in servlets?
What are the benefits of using servlet over cgi?
What is Servlet API used for connecting database?
Explain is servlet mapping?
What are the servlet events?
Can we override destroy method in servlet?