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.
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
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.
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!
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 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.
This example demonstrates how to throw Exception in struts framework. this example has two exception class DuplicateChecknumber and InsufficientAccount.
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.