User-submitted Struts Projects

90
1493 reads
TheAlchemist's picture

Submitted by

TheAlchemist
Security
The below example demonstrates security in Struts. In this example you will see role based security in web.xml file using security-role tag. only registered user and adminitrator are authorized.
Security

Run It Now!
90
2232 reads
File Upload & Download
The below example demonstrates how to upload file in Struts 2. In this example we are uploading a single jpeg,png and gif format file with the help of File_SingleUpload action.
File Upload & Download

Run It Now!
90
1649 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!
89
1804 reads
Billy's picture

Submitted by

Billy
Tags:

Interceptors
The below example demonstrates how to invoke Interceptors in struts 2 framework.
Interceptors

Run It Now!
89
1633 reads
MrGenius's picture

Submitted by

MrGenius
Custom Interceptors
The below example demonstrates Custome Interceptors in struts 2 framework. In this example you will see different ways to create you own interceptor stack and associate it with the action class.
Custom Interceptors

Run It Now!
86
1613 reads
Bobby's picture

Submitted by

Bobby
Data tags
The below example demonstrates Data tags in struts framework.
Data tags

Run It Now!
85
1491 reads
User info struts
The below example demonstrates how to create a model in struts. The example allows the user to create edit or delete user details.
Run It Now!
83
1408 reads
John's picture

Submitted by

John
Hello World
The below example demonstrates how to make basic hello world in struts framework. In this example student enter a name and it will give a message : hello username
Hello World

Run It Now!
81
1482 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!
76
1498 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!
Make & share a project and showcase your talent to the world!