User-submitted Struts Projects

97
1402 reads
SuperMario3's picture

Submitted by

SuperMario3
Struts1 w/ MVC2
This example demonstrates registration of product. In this example product registration page is being called through jsp and servlet is called by servlet page with different url pattern (*.do).
Struts1 w/ MVC2

Run It Now!
95
1546 reads
MVC using Servlets and JSPs
The below example demonstrates how to use Vectors (collection array) using jsp and servlet in struts. Here Vector array is used for collecting all registered users.
MVC using Servlets and JSPs

Run It Now!
101
1412 reads
Guest's picture

Submitted by

Guest
testing
This is a Struts Hello World program!
Run It Now!
107
1365 reads
BibinRaj's picture

Submitted by

BibinRaj
Tags:

String
The below example demonstrates how to concatenate strings and assign to another string. In the below example s1 has value "1 2" and s2 is created by assigning the value of s1 and concatenating anot
Run It Now!
111
2039 reads
Model Driven & Prepare Interceptor
The below example demonstrates ModelDriven & prepare Interceptor in Struts Framework. In this example when you will enter Employee firstname and lastname and click on submit button then it will add employee info in to List array. here Action class implements ModelDriven interface
Model Driven & Prepare Interceptor

Run It Now!
76
1455 reads
Tori's picture

Submitted by

Tori
Input Validation
The below example demonstrates validation on login form in struts framework. In this example when you will keep empty any text fields then it will give a validate message. if you will not keep empty then it will redirect on another page.
Input Validation

Run It Now!
81
1440 reads
Tori's picture

Submitted by

Tori
Input Validation
The below example demonstrates strong password validation in struts framework. In this example you will see Login page and fill username and password. if you will not enter strong password then it will give a message "Password must be at least 8 characters long and contains at least one lower case character
Input Validation

Run It Now!
47
1521 reads
Tori's picture

Submitted by

Tori
Input Validation
The below example demonstrates validation in struts framework. In this example Customer Example also uses the visitor validator but not uses context parameter so unable to validate zip code. But employee example use context parameter and successfully validates zip code.
Input Validation

Run It Now!
90
1610 reads
CrazyCoder's picture

Submitted by

CrazyCoder
Input Validation
The below example demonstrates validation through customer registration form in struts framework.
Input Validation

Run It Now!
93
1372 reads
CrazyCoder's picture

Submitted by

CrazyCoder
Input Validation
The below example demonstrates different types of validation in struts framework. In this example you will see list of links on index page which has different type of validation on text box field.
Input Validation

Run It Now!