User-submitted Projects

109
2113 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!
77
2428 reads
Protected Modifier in java. - Calories Example
The below example demonstrates how to use Protected Modifier in java.
Run It Now!
109
1713 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!
69
2197 reads
Protected Modifier in java.
The below example demonstrates how to use Protected Modifier in java. The below example defines a protected class member of Class Employee named numEmployee , and accesses from Class FileProtect by c
Run It Now!
85
1512 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!
101
2094 reads
Servlet Error Page Example
Servlet Error Page Example
Servlet Error Page Example

Run It Now!
152
1664 reads
Servlet Generate Exception Example
The servlet generate exception example below demonstrates how to throw an exception in servlets. The example throws a null pointer exception

Run It Now!
99
1795 reads
Kernel9's picture

Submitted by

Kernel9
The Simple Input Count Example
The simple input count example below demonstrates how to use HTML with servlets to build web applications. The example takes input as integers from user and prints Hello world accordingly.
The Simple Input Count Example

Run It Now!
109
2137 reads
The Auto-Refresh Example
The auto-refresh example below demonstrates how to create a save data using sessions after each refresh page. The example increments the counter of the number of times the servlets been accessed in
The Auto-Refresh Example

Run It Now!
110
1524 reads
Kernel9's picture

Submitted by

Kernel9
The Color Test Example
The color test example below demonstrates how to use servlets to build web pages. The example allows the user to select multiple colors and print the colors as output.
The Color Test Example

Run It Now!