GeekInterview.com
Series: Subject: Topic:
Question: 110 of 110

What is Struts


Answered by asreeni on 2005-04-08 03:24:40: The core of the Struts framework is a flexible control layer based on standard technologies like Java Servlets, JavaBeans, ResourceBundles, and XML, as well as various Jakarta Commons packages. Struts encourages application architectures based on the Model 2 approach, a variation of the classic Model-View-Controller (MVC) design paradigm.  
 
Struts provides its own Controller component and integrates with other technologies to provide the Model and the View. For the Model, Struts can interact with standard data access technologies, like JDBC and EJB, as well as most any third-party packages, like Hibernate, iBATIS, or Object Relational Bridge. For the View, Struts works well with JavaServer Pages, including JSTL and JSF, as well as Velocity Templates, XSLT, and other presentation systems.  
 
The Struts framework provides the invisible underpinnings every professional web application needs to survive. Struts helps you create an extensible development environment for your application, based on published standards and proven design patterns.  
Asked by: Interview Candidate | Asked on: Sep 7th, 2005
Showing Answers 1 - 34 of 34 Answers
John

Answered On : Mar 8th, 2005

Struts is a good framework for web site development. It has become more and more popular over the last year or so and is now entering the corporate mainstream. If you need to process a lot of forms in your JSP/servlet development projects, take a look at what Struts can do for you. Related Struts reading.

  
Login to rate this answer.
Vagner Fonseca

Answered On : Mar 23rd, 2005

Talk about Struts and don't mention MVC is terrible.

  
Login to rate this answer.
asreeni

Answered On : Apr 8th, 2005

The core of the Struts framework is a flexible control layer based on standard technologies like Java Servlets, JavaBeans, ResourceBundles, and XML, as well as various Jakarta Commons packages. Struts encourages application architectures based on the Model 2 approach, a variation of the classic Model-View-Controller (MVC) design paradigm.  
 
Struts provides its own Controller component and integrates with other technologies to provide the Model and the View. For the Model, Struts can interact with standard data access technologies, like JDBC and EJB, as well as most any third-party packages, like Hibernate, iBATIS, or Object Relational Bridge. For the View, Struts works well with JavaServer Pages, including JSTL and JSF, as well as Velocity Templates, XSLT, and other presentation systems.  
 
The Struts framework provides the invisible underpinnings every professional web application needs to survive. Struts helps you create an extensible development environment for your application, based on published standards and proven design patterns.  

  
Login to rate this answer.
sorna

Answered On : May 2nd, 2005

STRUTS is a design pattern that follows the MVC framework. It provides a way to seperate the appliation logic from the business logic

  
Login to rate this answer.
Preeti

Answered On : May 4th, 2005

Struts is an open source frame work and it was created to make it easier for developers to buil web application based on java servlets and java server pages technologies. 
It follows MVC pattern which seperate the business logic to application logic 

Yes  1 User has rated as useful.
  
Login to rate this answer.
raja

Answered On : Jul 23rd, 2005

Struct is a jsp framework.It will be seperate business logic and presentation logic. 
Here business logic is define as Serverside scriplet and presentation logic is define as our html presentation. 
structs follows MVC pattern.Mvc denoted as Model View Controller. 
 
View is used for our presentation logic that means HTML.Model is used for serverside interaction code that means retrive data from database and store data to database and some business calculation from the server .Controller is used to control the server that means if clients need which page that page is loaded to the jsp container and show to the particular user,so controller used to loaded specific pages to the client request.

  
Login to rate this answer.
ammulu

Answered On : Aug 27th, 2005

the answer should be that even an average student can understand the language

  
Login to rate this answer.
vamshidhar ghanpur

Answered On : Aug 27th, 2005

Struts is a frame work mainly based on MVC design pattern,which seperates the presenntationlogic from the business logic.Struts is the one of the most succesful frameworks for devoloping the webAplications in easiest way using servlets and jsp's.without changing business logic we can chane presentation logic thru Struts-config.xml file.

Yes  2 Users have rated as useful.
  
Login to rate this answer.
vamshidhar ghanpur

Answered On : Aug 27th, 2005

Struts filling the gaps between servlets,Jsp's ,Beans and customtags.

  
Login to rate this answer.
Vikas

Answered On : Sep 7th, 2005

Good

Yes  1 User has rated as useful.
  
Login to rate this answer.
sowmy

Answered On : Sep 19th, 2005

Struts is framework that implements MVC architecture. Provides utility classes and custom tag libraries that handle many of the most common tasks in web app development.

  
Login to rate this answer.
guptach

Answered On : Sep 23rd, 2005

View all answers by guptach

Struts is a open source Framework which is used to develop web applications using the web components servlets and JSPs. Struts Framework is designed and developed based on the MVC model 2 architecture(which is one of the design patterns). Its basic functionality is to provide the single controller which handles all the requests, process them and response back to client. ActionServlet is the Single Controller provided by Struts Framework which handles all the requests and process them by getting the information from Struts-config.xml file which is the important resource of the Struts Framework.

The basic components of the Struts are

1. ActionServlet (provided by the Struts Framework)

2. ActionForm (which is used to populate values and to validate)

3. Action (which contains the Business Logic)

4. Struts-Config.xml

  
Login to rate this answer.
sudha

Answered On : Oct 2nd, 2005

struts is a FrameWork..It is based on MVC method..MVC means MODEL VIEW CONTROLLER..Here MODEL is a BEAN and VIEW is a JSP and CONTROLLER is a SERVLET...Struts has 6 files..4 is based on java and 2 is based on jsp.. JSP Files 1)Submit.jsp 2)Output.jsp Java Files 1)Form.java 2)Help.java 3)Action.java 4)Result.java

  
Login to rate this answer.
vishnu

Answered On : Oct 4th, 2005

STRUTS-- is a popular framework that provides support for each part of the MVC design pattern that allows you to plug in your business logic without worrying about low-level, servlet related plumbing.

 Most of the struts application use a JavaSeverPage backed by an action form, to support the view.  The controller moves data between the view and model and controls the flow of application.  The model can consist of simple Java beans, which use JDBC to read and write to a database; complex Enterprise JavaBeans; or someting in between, like Hibernate data access objects.

  
Login to rate this answer.
malar

Answered On : Oct 5th, 2005

View all answers by malar

yes

  
Login to rate this answer.
Prashant

Answered On : Oct 16th, 2005

Struts frame-work is an implementation of MVC design pattern in J2EE 

  
Login to rate this answer.
om shnaker mishra

Answered On : Oct 17th, 2005

it's not the right ,good & exact definition of struts seems like confusing.

try to make it more clear.

  
Login to rate this answer.
Francis

Answered On : Oct 31st, 2005

How the spring framework is replace the struts framework

what are the complexities and overhead in the struts framework and its the heavy weight component framework .

 why we need the spring framework

  
Login to rate this answer.
rameshkumar

Answered On : Feb 25th, 2006

struts was designed for creating web applications that easily seperate the presentation layer and allow it to be abstracted from transfer/data layers.struts has received quite a bit of developer support, and is quickly becoming the dominant factor in the open-source  community.

Yes  1 User has rated as useful.
  
Login to rate this answer.
praveen

Answered On : May 25th, 2006

struts is Framework to implementing the webapplication.Framework means it is a semi implemented classes wich are used to impliment are extended to our requirment. struts fallow MVC(Model-View-Controller) architecture to develop the webapplication.

  
Login to rate this answer.
romal

Answered On : Jun 8th, 2006

Hello Preety

Struts is a Model View Controller ramework which we can use for built complex JSP web base application.

we can use for cetralize file design in web application.

I think so.

  
Login to rate this answer.
P.chandra sekhar

Answered On : Oct 16th, 2006

Struts forces the developer to fallow the MVC2 archit.its a frame work used to reduce the complexcity of web aplications.

  
Login to rate this answer.
Raj

Answered On : Nov 15th, 2006

Struts is one of the most successful and  effective web application framework which  is developed using the MVC design pattern. It is an open source frame work from apache.

The main components of Struts Frame work are

1. Action Servlet

2. Action Form

3. Struts-config.xml

4. Action Classes.

  
Login to rate this answer.
vpnreddy

Answered On : Feb 5th, 2007

Struts is a framework for developing web applications using MVC architecture

  
Login to rate this answer.
mukesh kumar

Answered On : Feb 25th, 2007

structs is frameworks u can work with them without follow the MVC.

  
Login to rate this answer.
sam

Answered On : Jun 8th, 2007

Struts is framework that implements MVC architecture. Provides utility classes and custom tag libraries that handle many of the most common tasks in web app development.

  
Login to rate this answer.
Chandu

Answered On : Aug 1st, 2007

Struts 1.0 was released in July 2001. Struts is an open source framework. Struts combines Java servlets, JSP's, Custom tags and message resources into a unified framework. Dynamic webpages based on servlets executed quickly, could be moved between servers easily, and integrated well with backend data sources.

  
Login to rate this answer.
srikanthdusa

Answered On : Sep 1st, 2007

Struts is not a design pattern it is a frame work. Struts frame work follows MVC design pattern

  
Login to rate this answer.

Struts - A framework for writing Web-based applications in Java that supports the Model-View-Controller (MVC) architecture.

  
Login to rate this answer.

A Web page development framework. Struts combines Java Servlets, Java Server Pages, custom tags, and message resources into a unified framework. It is a cooperative, synergistic platform, suitable for development teams, independent developers, and everyone between.

  
Login to rate this answer.
pradeepkmr18

Answered On : Jul 7th, 2008

View all answers by pradeepkmr18

Struts is an opensource frame work designed based on MVC architechture which is used     to develop webapplications.It is famous because of Centralized controller and loosely coupling nature.

  
Login to rate this answer.
pankajnayan

Answered On : Sep 8th, 2009

View all answers by pankajnayan

Struts is a MVC based web application design framework. Where it seprates the web application in to 3 layers i.e Model, View and Controller. Model is database, view is JSP and controller are action servlet.
Model contains business logic, view work only for showing result, controller control the whole application through mapping based on XML file.

  
Login to rate this answer.
satyanandr

Answered On : Sep 11th, 2009

View all answers by satyanandr

Apache Struts is a frame work build on several design patterns like MVC, FrontController, Factory, Singleton etc., It is most suitable framework to develop web based applications, because  this framework is supported by all the web containers.

If some one want to learn struts then they need to have minimum knowledge on Java Beans, Servlets and Java Server Pages.
 
Struts is suitable for Client tier when we are using 2-tier or n-tier architecture for any project.

To make more flexible with struts framework they released struts 2 which decreases the coding part and increase the configuration area.

  
Login to rate this answer.
vana_mlk

Answered On : Jul 2nd, 2010

View all answers by vana_mlk

I worked with struts it completely MVC base. I used SHINE pattern. It is a MVC base too. Actually it is an open source project to implement J2EE application.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.