User-submitted J2EE Projects

111
2241 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
1658 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
1641 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
1736 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!