GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  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


March 03, 2008 09:02:29 #6
 sampra J2EE Expert  Member Since: February 2008    Total Comments: 279 

RE: why we need web container to Deploy the servlet or jsp ?
 
Servlets and JSP are server side technologies and should be invoked when we receive request from client browser so web container will act as interface between client request and Servlets and jsp in other words Servlets and jsp will reside under web container in order to server client request. hence we required web container in order to invoke Servlets or jsp
     

 

Back To Question