Struts 2 Tutorials


Struts 2 + iText + MySQL Dynamic PDF Report Example

In the previous Struts2 and iText example, I have simply put the static values to create the PDF report. But in this example, we fetch […] Continue reading »

Struts 2 and iText PDF Report Integration Example

In this tutorial, we have integrated the Struts 2 and iText to generated the PDF report. iText is an open source and widely used with […] Continue reading »

Struts 2 Set Tag Example

In this tutorial, we are going to tell how to use Struts 2 set tag (<s:set />). The set tag assigns a value to a […] Continue reading »

Struts 2 If, ElseIf and Else Tag Example

On this page we are going to show how to check condition on JSP page using Struts 2 If, ElseIf and Else tag. These tags […] Continue reading »

Struts 2 and Hibernate Integration Example- XML based

In this Struts 2 tutorial, we will show you how to integrate the Struts 2 application with Hibernate and save the data into the database. […] Continue reading »

Struts 2 CRUD Example using jQuery Ajax and JDBC

On this page, we will create a simple Struts2 CRUD operation using jQuery ajax. The ajax() method is used to perform an AJAX (asynchronous HTTP) […] Continue reading »

Struts 2 CRUD Example using jQuery JSON and JDBC

This Struts 2 tutorial will show you how to create CRUD operation using jQuery. jQuery provides getJSON() method for handling the actions. Similar Post- Struts […] Continue reading »

Struts 2 Create, Read, Update and Delete (CRUD) Example using JDBC

In this Struts 2 tutorial we will create a simple application for Create, Read, Update and Delete (CRUD) operation using JDBC. CRUD is the basic module […] Continue reading »

Sending email using Struts 2 and JavaMail API

In this tutorial, you will learn how to send an email in your Struts 2 application using JavaMail API via Gmail SMTP. JavaMail API provides […] Continue reading »

Struts 2 and JSON Integration using Annotation Example

In this Struts 2 tutorial, we will learn to get JSON response using Annotation. In the previous tutorial you have seen we get the JSON […] Continue reading »

Struts 2 and JSON Integration Example

In this Struts 2 tutorial, we get the JSON response through our Struts 2 application. JSON is the most popular way to data-interchange. In this […] Continue reading »

1 2 3 4