User-submitted J2EE Projects

89
1820 reads
MrGenius's picture

Submitted by

MrGenius
Custom Interceptors
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.
Custom Interceptors

Run It Now!
112
1867 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!
121
2940 reads
MrGenius's picture

Submitted by

MrGenius
Dynamic Method Invocation
The below example demonstrates Dynamic method Invocation in struts 2 framework.
Dynamic Method Invocation

Run It Now!
111
2067 reads
Validation using validate()
The below example demonstrates how to perform validation in Struts 2 framework.
Validation using validate()

Run It Now!
159
2753 reads
MrGenius's picture

Submitted by

MrGenius
Hello World example
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.
Hello World example

Run It Now!
161
2329 reads
Jprogramr's picture

Submitted by

Jprogramr
Hello User Example
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".
Hello User Example

Run It Now!
155
2579 reads
Cooldude's picture

Submitted by

Cooldude
Expression Language
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.
Expression Language

Run It Now!
108
2252 reads
cassia's picture

Submitted by

cassia
Model 1 JSP with JSTL
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
Model 1 JSP with JSTL

Run It Now!
80
2370 reads
Cooldude's picture

Submitted by

Cooldude
EL Function Examples
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.
EL Function Examples

Run It Now!