User-submitted Struts Projects

111
1765 reads
Exception Handling
This example demonstrates how to throw Exception in struts framework. this example has two exception class DuplicateChecknumber and InsufficientAccount.
Exception Handling

Run It Now!
186
5218 reads
SayyadHasan's picture

Submitted by

SayyadHasan
Persistent Layer
The below example demonstrates Persistent Layer in Struts Framework.
Persistent Layer

Run It Now!
120
1669 reads
Creating the Model
The below example demonstrates creating a model in struts framework. In this example Customer can make order that is stored in session variable.
Creating the Model

Run It Now!
71
1492 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!
147
2385 reads
Anglina85's picture

Submitted by

Anglina85
Validation
The below example demonstrates how to validate all form fields in struts framework. In this example when user fill wrong info in fields on gas parchase form then click on Add button. it will validate using appropriate message.
Validation

Run It Now!
184
3937 reads
Alisia's picture

Submitted by

Alisia
Form Tags
The below example demonstrates Form based tags in struts framework. In this example index page has more links which are calling approriate action using struts.xml file.
Form Tags

Run It Now!
118
1671 reads
Alisia's picture

Submitted by

Alisia
Tags:

OGNL
The below example demonstrates how to access Valuestack programmatically and via OGNL. In this example index page has two links.
OGNL

Run It Now!
113
1513 reads
Alisia's picture

Submitted by

Alisia
Creating the View
The below example demonstrates Creating the view in struts framework. In this example a company's fleet manager track fuel purchases for the company's vehicles.
Creating the View

Run It Now!
160
2502 reads
Alisia's picture

Submitted by

Alisia
Struts2 MVC2 Implementation
The below example demonstrates how to fetch value of variable one page to another page in struts MVC architecture.
Struts2 MVC2 Implementation

Run It Now!
49
1478 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!