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
Explain the core end goal while using java struts?
Describe validate() and reset() methods.
What is the design role played by struts?
What are the benefits of Interceptors in Struts2?
Explain how to work with error tags?
At the point, you should go for struts framework?
What are the reasons for an error message not being displayed while developing struts application?
Name the different types of actions found in struts.
What is jakarta struts framework?
What are the classes used as part of struts framework ?
Can we handle exceptions in Struts programmatically?
What is the purpose of @before annotation?
Why use struts framework in java?
What is the difference between struts and spring?
How does interceptor work in struts2?