User-submitted J2EE Projects

91
1923 reads
letmethink's picture

Submitted by

letmethink
The JSP expression
The JSP expression example below demonstrates how to use java scripting elements in JSP. The example allows the user to view the current time,hostname and sessionID as parameter.
The JSP expression

Run It Now!
90
4663 reads
Tables
The Times Tables - Basic Table, just getting which table and how many numbers and displaying the Result
Tables

Run It Now!
90
1687 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
2388 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
7960 reads
Shopping Cart Example
The Shopping Cart example below demonstrates how to use sessions to store data between requests. The example allows the user to add items to a shopping cart, and then view the contents of the cart.
Shopping Cart Example

Run It Now!
90
1829 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
2268 reads
dninja95's picture

Submitted by

dninja95
Tags:

Event Registration (sqlite based)
This will get the event registrations from a sqlite database.
Run It Now!
89
2014 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!
Make & share a project and showcase your talent to the world!