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


Please Help Members By Posting Answers For Below Questions

Explain is servlet mapping?

582


Is servlet a controller?

575


What is the directory structure of web application?

530


What is MIME Type?

665


What is the purpose of dispatcherservlet properties?

510






Difference between GET and POST?

714


Explain jsessionid and when is it created?

597


What is java servlet?

612


What is the advantage of Servlets when compared with other server side technologies?

1861


If a servlet is not properly initialized, what exception may be thrown?

629


What is called servlet container?

667


Whether we can get deadlock situation in servlets?

578


Explain web application directory arrangement?

593


What are the different types of servlets?

518


What is called Scriptlet?

563