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".
The mail-list example below demonstrates how to use simple HTML forms with JSP Expressions.
This example takes firstname, last name and email from user and display it as an output.
The registration example below demonstrates how to use HTML with JSP to create a registration page.
This example takes user information from user and computes the billing information to show as output
The EL function example below demonstrates how to use El functions in JSP.
This example uses abs() and round() to find out the absolute and rounded value of given values.