Struts 2 Tutorials


Pagination in Struts 2 using jQuery datatable

In this Struts 2 tutorial, we will organize the bunch of data into pagination. In this example, we are using jQuery dataTable to create pagination […] Continue reading »

Struts 2 File Upload Example

In this Struts 2 tutorial, we will help you to upload a file in Struts 2 application. In Struts 2, <s:file> tag is used to […] Continue reading »

Struts 2 Annotation Login Example

In this Struts 2 tutorial, we will create a login application using Annotation. To create an annotation based application you need to include the struts2-convention-plugin-2.x.x.jar […] Continue reading »

Struts 2 and jQuery JSON integration Example

In this Struts 2 tutorials, we are going to integrate the jQuery JSON to fetch the data without page refresh. To do this jQuery provide […] Continue reading »

Login and Logout using Session in Struts 2

This Struts 2 tutorial will explain how to manage the Session in Struts 2 and develop a login and logout module on the basis of […] Continue reading »

Base64Encoder- How to display byte array image in JSP using Struts2

Retrieving images from database and display it on JSP page is a little bit tricky but we have many options to do that. In my […] Continue reading »

How to display Image in JSP from database using Struts 2

In this Struts 2 tutorials we are going to retrieve the images from database and display on JSP pages. As we know that to store […] Continue reading »

How to upload Image in database using Struts 2

In this tutorial, we are going to explain how to Upload/Insert images in the database using Struts 2. First of all, we will add the […] Continue reading »

How to send data from JSP to Struts action class using jQuery Ajax

This tutorial will explain the detail of How to send the Form value from JSP to Action class using Ajax. In the below example,  we […] Continue reading »

How to call Action class using Ajax in Struts 2

This tutorial will explain how to implements Ajax to call action class in Struts 2. In this example, we are going to use jQuery Ajax […] Continue reading »

Struts 2 Login Example using MySQL database Stored Procedure

This Struts 2 tutorial will explain how to create a login application using Stored Procedure. Before creating this application some basic requirements are necessary to […] Continue reading »

1 2 3 4