User-submitted Servlets Projects

99
1798 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
2142 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
1528 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!
97
1588 reads
The Mail-List Example
The mail-list example below demonstrates the working of JSP with servlets. The example takes user details from user to show them as output.
The Mail-List Example

Run It Now!
87
1653 reads
plasmavore's picture

Submitted by

plasmavore
Tags:

The Mail-List Example
The mail-list example below demonstrates how to use JNDI with Servlets. This example takes firstname, last name and email from user,inserts the user details into the database and display it as an out
The Mail-List Example

Run It Now!
187
3680 reads
Car Registration
The simple car registration example demonstrates how to insert data into database. The example allows the user to insert car details into database and displays all the data from registration table.
Car Registration

Run It Now!
90
7960 reads
Shopping Cart Example
The Shopping Cart example below demonstrates how to use sessions to store data between requests. The example allows the user to add items to a shopping cart, and then view the contents of the cart.
Shopping Cart Example

Run It Now!
96
2548 reads
Session Authorization Servlet Example
The servlet example below demonstrates how to implement session authorization with servlets. The example allows the user to login with thier name and logout of the session.
Session Authorization Servlet Example

Run It Now!
86
1835 reads
NightAngel's picture

Submitted by

NightAngel
A Simple JSP, The JSP
The JSP example below demonstrates how to create a JSP project. The example allows the user to view the current date and the account holders details.
A Simple JSP, The JSP

Run It Now!
86
1496 reads
Combining Servlets and JSPs
A JSP example below demonstrates how to use JSP with servlets to create a desired output. The example takes integer as input and displays the output accordingly.
Combining Servlets and JSPs

Run It Now!