java

Struts 2 Multiple Configuration Files Example

 Download this Project In this article, we will learn how to use multiple configuration files in struts2. We can use include tag to add multiple config files into struts config. Below is the syntax for the include tag. <struts> — <include file=”path_to_the_config_file2″ ></include> — </struts> 1. Development Environment  Eclipse JDK 1.8 Tomcat 8.5 Maven 2. Create …

Struts 2 Multiple Configuration Files Example Read More »

Struts 2 Push Tag Example

 Download this Project In this article, we will learn how to use a push tag in struts2. Below is the syntax for the push tag. <s:push value=”someObject”> <s:property value=”obejctProperty” /> </s:push> 1. Development Environment  Eclipse JDK 1.8 Tomcat 8.5 Maven 2. Create a Maven Web Project Below is my dynamic web project struts2-push-tag structure in eclipse. In this …

Struts 2 Push Tag Example Read More »

Struts 2 Iterator Example

 Download this Project In this article, we will learn how to iterate a list of Strings or Objects using iterator tag in struts2 . Below is the syntax for the iterator tag. <s:iterator value=”someList”> <s:property /> </s:iterator> 1. Development Environment  Eclipse JDK 1.8 Tomcat 8.5 Maven 2. Create a Maven Web Project Below is my dynamic web …

Struts 2 Iterator Example Read More »

Struts 2 Form Submit and Capturing Form Data Example

 Download this Project In this article, we will create an example project to submit and capture the form data using struts2. 1. Development Environment  Eclipse JDK 1.8 Tomcat 8.5 Maven 2. Create a Maven Web Project Below is my dynamic web project struts2-form-data structure in eclipse. In this example, we are using struts 2.1.8 version. This …

Struts 2 Form Submit and Capturing Form Data Example Read More »

Struts 2 Hello World Example

 Download this Project In this article, we will learn how to create a hello world example project using struts2. 1. Development Environment  Eclipse JDK 1.8 Tomcat 8.5 Maven 2. Create a Maven Web Project Below is my dynamic web project struts2-helloworld structure in eclipse. In this example, we are using struts 2.1.8 version. This project …

Struts 2 Hello World Example Read More »