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 are the different methods of session management in servlets?
What are the mechanisms used by a servlet container for maintaining session information?
What are the types of an http request?
Name the packages that work with servlet?
What is a deployment descriptor?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
Whether thread can be used in servlets?
Can we use threads in Servlets?
Difference between get and post in java servlets?
Explain is servlet mapping?
Which java application server is the best?
What is pure servlet?
Explain url encoding in servlet?
Should I override the service() method?
Explain the war file?