User-submitted Struts Projects

71
1537 reads
Anglina85's picture

Submitted by

Anglina85
Input Validation
The below example demonstrates validate empty fields in struts framework. In this example you will see a message when user will leave any empty field on customer registration form and click on submit button.
Input Validation

Run It Now!
54
1337 reads
invincible's picture

Submitted by

invincible
demo
simple hello world example.
Run It Now!
49
1518 reads
Evolution of Web Application
The below example demonstrates how to dispatch url after some time of a registration page. if you access registration page directly then it will show the message "direct access is denied".
Evolution of Web Application

Run It Now!
47
1373 reads
invincible's picture

Submitted by

invincible
Tags:

47
1566 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!
45
1424 reads
Judi's picture

Submitted by

Judi
Type Conversion
The below example demonstrates Type Conversion in Struts 2. In this example if you will enter color code in integer formate. then it will convert in to proper color and show on redirected page.
Type Conversion

Run It Now!
43
1539 reads
Judi's picture

Submitted by

Judi
Type Conversion
The below example demonstrates Type Conversion in Struts 2. In this example you will see how to implement Date type conversion and double type conversion in struts. if you insert integer value in amount textfield then it will convert automatically in to double.
Type Conversion

Run It Now!
28
1483 reads
Judi's picture

Submitted by

Judi
Tags:

Type Conversion
The below example demonstrates Type Conversion in Struts 2. In this example you will see how to implement type conversion in struts.
Type Conversion

Run It Now!
Make & share a project and showcase your talent to the world!