User-submitted J2EE Projects

116
1752 reads
Anuj's picture

Submitted by

Anuj
The Servlet Example
The servlet example below demonstrates the working of multiple servlets. The example allows the user to view a message as output depending upon the link the user clicks.
The Servlet Example

Run It Now!
106
13275 reads
ChetanK's picture

Submitted by

ChetanK
Tags:

Compare Two Objects Of Same Class In Java.
The below example demonstrates how to compare two objects of same class in java. The below example creates two objects of class Employee i.e emp1 & emp2 and compares the objects.If the objects are eq
Run It Now!
109
1623 reads
Date Display Example
The date display example below demonstrates how to use servlets to display date. The example allows the user to view Current day, date as output.
Date Display Example

Run It Now!
115
1762 reads
ChetanK's picture

Submitted by

ChetanK
TheHello User Example
The hello user example below demonstrate how to pass data in servlets. The example takes username as input from user and prints "Hello username" as output.
TheHello User Example

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!
109
2117 reads
CodeDude's picture

Submitted by

CodeDude
Registration Example
The servlet example below demonstrates how to use java bean with servlets. The example takes an input as confirmation number from user and prints the details of the registration as output.
Registration Example

Run It Now!
109
1716 reads
The Mail-List Example
The mail-list example below demonstrates the working of HTML with servlets. The example takes user details from user to show them as output.
The Mail-List Example

Run It Now!
85
1517 reads
Dice Roller Example
The dice thrower example below demonstrates how to use programming logic in servlets. The example allows the user to view different random results of the dice as output.
Dice Roller Example

Run It Now!