User-submitted Struts Projects

90
1673 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!
92
2104 reads
Securing Struts2 Apps
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 tomcat has role.
Securing Struts2 Apps

Run It Now!
107
1570 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!
160
2737 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!
113
1703 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!
118
1871 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!
184
4385 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!
120
2083 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!
187
5673 reads
SayyadHasan's picture

Submitted by

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

Run It Now!
111
1981 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!