Last updated: Aug 31, 2022

Struts

Hello Ninjas, do you guys know that Struts in Java is an open-source framework that is made by Apache? Apache provides a free source to download Struts for users. Struts is used to create web applications based on servlet and JSP. Struts depend on the MVC (Model View Controller) framework. Struts application is a genuine web application. It simplifies the development and maintenance of web applications by providing predefined functionality. It is based on a front controller, which means it has a controller in front of it which decides on which model request has to come or go. Struts in Java are very helpful for us as MVC is a guideline followed by all technologies in today’s world. There is no better option to simplify web applications other than MVC.
Struts 2 Action EASY
This article will discuss Struts 2 Action in detail with the help of some examples.
Struts 2 Database Access MEDIUM
This blog explains the details of Struts 2 Database and its implementation.
Struts 2 Type Conversion MEDIUM
In this article, we will discuss Struts 2 type conversion. We will jump on to the knowledge of converting data types as per the program requirements in this topic of Struts 2 Type Conversion.
Struts 2-The Ajax Tags EASY
In this article, we will learn about the ajax tags in the struts 2.
Struts 2 Form Tags MEDIUM
Struts 2 uses the form tags to deal with forms. This article explains the usage of the form tags in detail.
Struts2 Localization, Internationalization (i18n) MEDIUM
In this blog, we will discuss struts2 localization and internationalization in detail with examples.
Struts 2 Annotations MEDIUM
In this blog, you will study different types of annotations.
Struts 2 Annotations Types EASY
This blog will discuss Struts 2 annotation types and some necessary annotations in detail.
Struts 2 Themes & Templates EASY
This article discusses themes in struts 2 and how to create a new one.

Struts Introduction

Struts is a framework based on a set of Java technologies like Servlet, JSP, JSTL, XML, etc which provides an implementation of MVC architecture. The framework also provides ready to use validation framework. The power of Struts lies in its model layer by which Struts can be integrated with other Java technologies like JDBC, EJB, Spring, Hibernate, and many more. Ninjas why waste time let’s learn more about Struts.
What are Struts? EASY
This article will discuss Struts in detail.
Environment Setup for Struts MEDIUM
This blog will discuss detailed steps for setting up the Environment for Java Struts 2.
Model 1 and Model 2 Architecture
This article will discuss two approaches for building web applications, Model 1 Architecture and Model 2 (MVC) Architecture.
Struts 2 architecture
The following article explains the architecture of struts 2 application.
Steps to create Struts 2 Application EASY
This article will discuss the steps to create the Struts 2 application in detail.
Creating First Struts 2 Application MEDIUM
This blog article will discuss how to create the first struts2 web application with a detailed explanation.
Create a struts 2 application in MyEclipse EASY
The following article explains the steps required for building a simple application in struts 2.

Struts 2 Interceptor

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. Interceptor is an object that is invoked during the preprocessing and postprocessing of a request. In Struts 2, Interceptor is used to perform operations such as Validation, Exception Handling, Internationalization, Displaying Intermediate results, etc.
Custom Interceptor MEDIUM
In this article, we will discuss the custom Interceptor present in Java. We will further discuss the different parameters present in the custom Interceptor in Java.
Params Interceptor MEDIUM
This article will discuss the Params Interceptor's parameters and an example.
execAndWait Interceptor MEDIUM
In this article, we will discuss the execAndWait Interceptor present in Java. We will further discuss the different parameters present in the execAndWait Interceptor. We will also look at an example to understand the working of execAndWait Interceptor.
Prepare Interceptor MEDIUM
In this article, we will discuss the prepare Interceptor present in Java. We will further discuss the different parameters present in the prepare Interceptor in Java. We will also look at an example to understand the working of prepare Interceptor.
modelDriven Interceptor MEDIUM
In this article, we will discuss the modelDriven Interceptor present in Java. We will further discuss the different parameters present in the modelDriven Interceptor in Java. We will also look at an example to understand the working of modelDriven Interceptor.
Exception Interceptor MEDIUM
In this article, we will discuss the exception interceptor with its internal working, parameters, and an example.
fileUpload Interceptor MEDIUM
We will discuss the Struts, and One of its Interceptors, i.e., fileUpload Interceptor with its example.

Struts 2 Validations

Hello Ninjas, In this blog series we’ll look deeper into the Struts validation framework. At the Struts core, we have the validation framework that assists the application to run the rules to perform validation before the action method is executed. Let’s get started with Validation.
Struts2 Custom Validation MEDIUM
This article will discuss Custom validation and its implementation in Struts2 with an example.
Requiredstring Validator EASY
In this article, we will see what is required string validator and how it works in the backend to ensure its job.
Email Validator MEDIUM
In this article, we will see what an Email validator is and how it is used to determine its legitimacy.
Date Validator MEDIUM
This article explains a date validator and how we can create one ourselves using jsp.
Int Validator EASY
In this article we will learn about how an integer can be validated in struts2.
Double Validator MEDIUM
We'll learn the fundamentals of Double Validator in this blog.
Url Validator EASY
In this blog, we'll learn the fundamentals of URL validators.
Regex validator MEDIUM
We'll learn the fundamentals of regex validators in this blog.
By Ajax Validation (Built-in Validators with Ajax) MEDIUM
This blog will discuss Ajax Validation (Built-in Validators with Ajax).

Struts 2 Data Tags

Hello Ninjas, Let's learn together about Struts 2 data tags, help to get the data from the ValueStack, or place the data into the ValueStack.Struts 2 Data Tags which are primarily used to manipulate the data displayed on a page. Let’s explore more.
The Action Tag EASY
This article will discuss the action tag in structs 2. We will illustrate the use of the action tag by taking an example.
The Include Tag MEDIUM
In this article, we are going to learn the structs 2 include tags.
The Bean Tag EASY
In this article, we are going to learn the structs 2 bean tags.
The Date Tag EASY
In this article, we are going to learn the structs 2 date tag.
The Property Tag EASY
This blog helps you clear your understanding of The Property Tag and learn how to create Classes and Views in the property tag with the help of an example in this blog.
The Push Tag EASY
We will understand the usage of push tag and its implementation.
The Set Tag EASY
This article will discuss the Set Tag. We will learn how to use the set tag in Struts2 to give a value to a variable in a specified scope.
The Text Tag EASY
This blog helps you clear your understanding of The Text Tag and learn how to create Classes and Views in the text tag with the help of an example in this blog.
The URL Tag EASY
This blog helps you clear your understanding of The URL Tag and learn how to create Classes and Views in the URL tag with the help of an example in this blog.