User-submitted J2EE Projects

113
1716 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!
113
1859 reads
Decorating Using Sitemesh
The below example demonstrates Decorating struts with sitemesh in Struts 2. In this example you will see how to Decorate large sites using SiteMesh framework
Decorating Using Sitemesh

Run It Now!
113
1738 reads
CodeDude's picture

Submitted by

CodeDude
Hollistic Counter Example
The hollistic counter example below demonstrates how to save data using servlets. The example allows the user to view the number of times the servlet has been accessed as output.
Hollistic Counter Example

Run It Now!
113
1482 reads
Mindscript's picture

Submitted by

Mindscript
Struts2 w/ MVC2
The below example demonstrates how to make registration page and display registered stuff.
Struts2 w/ MVC2

Run It Now!
113
1988 reads
QuantomX's picture

Submitted by

QuantomX
The dynamic collection example
The dynamic collection example below demonstrates how to add into or remove items from list using JSTL . This example has a input text box which takes inputs from user to add into or remove item fr
Run It Now!
112
1640 reads
Shadowheaven's picture

Submitted by

Shadowheaven
The Security example
The Security example below demonstrates how to set security roles for resources in servlets. The example allows the user with roles admin and programmer to access the admin resources.
The Security example

Run It Now!
112
1866 reads
MrGenius's picture

Submitted by

MrGenius
Dispatch Action
The below example demonstrates Dispatch Actions in struts 2 framework. In this example you will see how to group a set of related functionalities in a single Action class.
Dispatch Action

Run It Now!
111
1992 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!
111
1819 reads
Timothy5's picture

Submitted by

Timothy5
XML Servlet
The xml servlet example below demonstrates how to create a xml file using servlets. The example creates a xml file with the data specified in the servlet.
XML Servlet

Run It Now!