The below example demonstrates Tiles in Struts. In this example you will see header and footer common for all pages. In this case we are using tiles tag for common layout. you can see in to jsp file.
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.