What is Struts Flow?

Answer Posted / ranjeet srivastav

Struts is an open-source framework for building Web
applications based on the MVC pattern. Struts encourages
application architectures based on the MVC pattern and
provides services common to most Web applications.

In a Struts application, you can architect the Model layer
so that the business and data retrieval logic are easy to
reuse. This layer is responsible for running the
application's business logic and getting the relevant data
(for example, running an SQL command or reading a flat
file).

Struts encourages application architectures based on the
Model-View-Controller design paradigm. Struts provides its
own Controller component (the ActionController classes) and
integrates with other technologies to provide the Model and
the View. For the Model (Model classes), Struts can
interact with any standard data access technology,
including Enterprise Java Beans technology, JDBC, and the
Object-Relational Bridge. For the View (ActionForm
classes), Struts works well with the JavaServer Pages (JSP)
environment and other presentation systems. Figure 2
illustrates the logical flow of a Struts-based application.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is apache struts framework?

526


What is the purpose of constant tag in struts.xml?

561


What do you mean by a custom tag?

547


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2538


What is the purpose of @emailvalidator?

565






What is the use of namespace in action mapping in Struts2?

581


What is the default suffix for Struts2 action URI and how can we change it?

528


Give an example of validates method used to avoid errors.

512


What are disadvantages of Struts?

558


What is the purpose of global-forwards tag in struct-config.xml?

586


What is the use of jsonvalidation in struts?

557


Which library is provided by struts for form elements like check boxes, text boxes etc?

516


When do I need “struts.jar” on my classpath?

543


What is the purpose of execute() method?

577


If the framework doesn’t do what I want, can I request that a feature be added?

508