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:  What is Struts

Answer:
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.  


July 07, 2005 02:44:03 #6
 raja   Member Since: Visitor    Total Comments: N/A 

RE: What is Struts
 
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.
     

 

Back To Question