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 the need of struts?
Which class of struts is responsible to converts data types from string and vice versa?
Why it called struts?
Where can I get help with struts?
What is the actionform?
Explain about tiles?
Explain the difference between jakarta struts and apache struts?
What is the use of jsonvalidation?
When it’s useful to use IncludeAction?
When do I need “struts.jar” on my classpath?
Which components are available using actioncontext map?
Mark the differences between html tags and strut specific html tags.
What is struts framework?
Give an alternative way to protect jsp’s with not much features from direct access.
What is the use of token interceptor in Struts2?