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  >  Struts

 Print  |  
Question:  Struts ActionServlet

Answer: why do we have only one ActionServlet in Struts?
(Asked in Polaris Interview for Java Experienced people , on April 11, Chennai)


April 04, 2008 09:34:25 #1
 satheeshraja   Member Since: December 2007    Total Comments: 2 

RE: Struts ActionServlet
 
ActionServlet is like BackBone of our application, we have done all actions(request & response) by using only one instance, that is ActionServlet's Instance, that is the main reason to go for MVC architecture, no need to create more than one instance, thats why we use only one ActionServlet for whole project.

In Previous Structure, we should create new instance for each and every request, in MVC no need.

Note of it "we have only one Backbone in our BODY"
     

 

Back To Question