The below example demonstrates how to make basic hello world in struts framework. In this example student enter a name and it will give a message : hello username
The below example demonstrates DateType Conversion in Struts 2. In this example if you will enter birth Date in (yyyy/mm/dd) formate. then it will convert in to (mon dd,yyyy) format and show on redirected page.
The below example demonstrates DateType Conversion in Struts 2. In this example if you will enter birth Date in (dd/mm/yyyy) formate. then it will convert in to (mon dd,yyyy) format and show on redirected page.
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.
This example demonstrates registration of product. In this example product registration page is being called through jsp and servlet is called by servlet page with different url pattern (*.do).
The below example demonstrates how to use Vectors (collection array) using jsp and servlet in struts. Here Vector array is used for collecting all registered users.