java - What happens when request comes to Tomcat server? -
when request comes tomcat server, checks web.xml , based on url-mapping, request redirected. okay if tomcat server has 1 application deployed in it.
but happens when tomcat server has more 1 application deployed in it? when request comes tomcat server, how knows application has invoke? told me there file called server.xml (or that) provide url-mapping each , every application deploy in server. based on tomcat redirects request particular application web.xml.
can please let me know flow of request processing?
1) need place war files tomcat's webapps folder.
2) tomcat expands each war file folder , automatically deploys war files.
3) once applications up, based on request url defined in deployment descriptor, request directed particular application.
Comments
Post a Comment