The below example demonstrates Custome Interceptors in struts 2 framework. In this example you will see different ways to create you own interceptor stack and associate it with the action class.
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.
The Hello World example below demonstrates how to use JSP to print hello world message.
This example prints a Hello world message along with current day,date and time.
The Hello User example below demonstrates how to pass parameters in JSP.
This example accepts a name from user and displays the output as "Hello user-name".