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
What is apache struts framework?
What is the purpose of constant tag in struts.xml?
What do you mean by a custom tag?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What is the purpose of @emailvalidator?
What is the use of namespace in action mapping in Struts2?
What is the default suffix for Struts2 action URI and how can we change it?
Give an example of validates method used to avoid errors.
What are disadvantages of Struts?
What is the purpose of global-forwards tag in struct-config.xml?
What is the use of jsonvalidation in struts?
Which library is provided by struts for form elements like check boxes, text boxes etc?
When do I need “struts.jar” on my classpath?
What is the purpose of execute() method?
If the framework doesn’t do what I want, can I request that a feature be added?