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
Go To First  |  Previous Question  |  
 Struts  |  Question 102 of 102    Print  
Struts Framework
Why we use Struts framework in project?


  
Total Answers and Comments: 7 Last Update: October 03, 2008     Asked by: jeenjustin 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: aleemkh
 
If you use struts, there will be only one Servlet which acts as a controller (MVC) pattern. If your webapp is very simple then there is no need to use struts. If the application is big like any banking application etc, then you should use Struts as it is very robust, makes the things simple, it Also has lot of readily available security features etc...

Above answer was rated as good by the following members:
accamar
August 05, 2008 06:48:38   #1  
sangamesh32 Member Since: August 2008   Contribution: 3    

RE: Struts Framework
Struts is nothing but implementation of MVC2 design pattern to develop web based appl. it supports and it is suited for any size of appln.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
September 15, 2008 14:15:11   #2  
vadlamudideepti Member Since: September 2008   Contribution: 1    

RE: Struts Framework
Struts framework is a open source frame work for developing webapplications. In this frame work, seperation between presentation  and business logic there. Struts have loosly coupled nature.  
 
Is this answer useful? Yes | No
September 16, 2008 00:14:28   #3  
mpspck Member Since: August 2008   Contribution: 2    

RE: Struts Framework

To implement MVC in the project we are going to struct.


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
September 17, 2008 03:43:17   #4  
aleemkh Member Since: July 2008   Contribution: 18    

RE: Struts Framework
If you use struts, there will be only one Servlet which acts as a controller (MVC) pattern. If your webapp is very simple then there is no need to use struts. If the application is big like any banking application etc, then you should use Struts as it is very robust, makes the things simple, it Also has lot of readily available security features etc...
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 18, 2008 13:51:42   #5  
sannareddynaveen Member Since: September 2008   Contribution: 1    

RE: Struts Framework

Java web application that consists of JSP as controller is an MVC1
architecture and web application which consists of Servlet as controller is
called as MVC2 architecture.


Struts is an open source framework which follows MVC2 architecture. We choose
to use struts framework while having more than one action.


For ex; if your form consists of more than one submit button i.e. like Edit,
Save, Delete

then we do go for struts.


We can also code the functionality in Servlets or JSP when we contain more
than one submit button but we have to use java script in the form and we have to
use no of if..else statement inside the controller.


Struts which is an open source framework which has some prebuilt classes like
action servlet as controller and most importantly we have additionally validator
framework available in struts.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 24, 2008 09:12:49   #6  
biswranjan Member Since: September 2008   Contribution: 1    

RE: Struts Framework
Struts frame work designed to follow Front controller Design pattern, where one controller should be responsible to handle request and response.
so in web.xml (deployment descriptor) only one conroller can be configured to handle requests and responses.

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
October 03, 2008 03:48:38   #7  
gauraw10 Member Since: October 2008   Contribution: 1    

RE: Struts Framework
Struts follow MVC design pattern and model and view are attached with the controler so reusability of view and model occurs. In Struts there is centralised system and whole application controlled by controler so apply whole of the security at controler not at each page of application. 
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape