Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Basic flow of Struts

Tags:

People also ask

How do Struts work?

Struts is an open source framework that extends the Java Servlet API and employs a Model, View, Controller (MVC) architecture. It enables you to create maintainable, extensible, and flexible web applications based on standard technologies, such as JSP pages, JavaBeans, resource bundles, and XML.

What is the flow of requests in Struts based applications a user interacts B request is passed towards the server C Controller E action received?

Struts based applications use MVC design pattern. The flow of requests is as follows: 1. User interacts with View written in JSP by clicking any link or by submitting any form displayed on the view.


Well I want to study Struts so I am going to begin with Struts 1, I would like to know the general flow. What files are required?

Whats the function of struts-config.xml? validation.xml? validation-rules.xml When you visit your JSP page, and an action gets fired, what happens? What does the Action and Form class do? Which class is called first when an action gets fired.

I just downloaded a sample form, and all these files are confusing at first. I would like to know whats going on to get a better idea of Struts.