The below example demonstrates Type Conversion in Struts 2. In this example if you will enter color code in integer formate. then it will convert in to proper color and show on redirected page.
The below example demonstrates Type Conversion in Struts 2. In this example you will see how to implement Date type conversion and double type conversion in struts. if you insert integer value in amount textfield then it will convert automatically in to double.
The dynamic collection example below demonstrates how to add into or remove items from list using JSTL .
This example has a input text box which takes inputs from user to add into or remove item fr Run It Now!
The Shopping Cart example below demonstrates how to use sessions to save data between requests.
The example allows the user to add items to a shopping cart, and then view the contents of the cart.
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 online gas purchase store example below demonstrates how to use core tags and formatting tags in JSP.
This example accepts purchase details from user and adds them into the current purchases tabl
The simple login example below demonstrates how to create a login page in JSP.
The example takes two inputs as username and password from user and prints "Welcome back username" as output.
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.