| |
GeekInterview.com > Interview Questions > J2EE > JSP
| Print | |
Question: why we need web container to Deploy the servlet or jsp ?
Answer: i.e Why we can not run the application like simple java program |
| July 07, 2008 04:12:59 |
#9 |
| konnipati.sivaa |
Member Since: October 2007 Total Comments: 6 |
RE: why we need web container to Deploy the servlet or jsp ? |
We cannot run the application like simple java programs and it will not execute in command prompt like standalone applications. Compulsorily we need to deploy the webresources like Servlet/JSP in webcontainer, container is is heart
of the servers .if u send a request to server first container will create a object and assign request .this servlet and JSP were using creation of webapplications this webapplications must deploy the webcontainer.
In order to execute Servlet/JSP because the web/application server implemented Servlet/JSP APIs. |
| |
Back To Question | |