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 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 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 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 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.
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.
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.
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.