The mail-list example below demonstrates how to use JNDI with JSP.
This example takes firstname, last name and email from user,inserts the user details into the database and display it as an output.
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 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 below example demonstrates Preventing Double Submits in Struts 2. In this example you will see how to prevent double submit to the form using token interceptor.
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.
The java mail example below demonstrates how to send a mail in servlets using java mail.
The example below allows the user to send a mail to the given email address.
The mail-list example below demonstrates how to use java beans with JSP to store data between requests.
This example takes firstname, last name and email from user and display it as an output.