Struts Framework Archive

Struts 2 Result Types

As mentioned previously, the <results> tag plays the role of a view in the Struts2 MVC framework. The action is responsible for executing the business logic. The next step after executing the business logic is …

Struts 2 Interceptors

Interceptors are conceptually the same as servlet filters or the JDKs Proxy class. Interceptors allow for crosscutting functionality to be implemented separately from the action as well as the framework. You can achieve the following …

Struts 2 Actions

Actions are the core of the Struts2 framework, as they are for any MVC (Model View Controller) framework. Each URL is mapped to a specific action, which provides the processing logic necessary to service the …

The ValueStack in Struts 2

In this tutorial we will discuss about the ValueStack in the Struts2 how its work behind the scene. Fist lets see the high level picture of flow request data to Struts2 framework. Step 1. Client …

A Tag And A Business Service

In this tutorial we will discuss an example of using a business service in the Action class with a tag in the JSP file. Business Service is the class where we put the business logic …