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 below example demonstrates Tiles definitions in Struts. In this example defs.xml file contains all the Tile definitions.On clicking the links , only the body part of the page should change.
The below example demonstrates security in Struts. In this example you will see role based security in web.xml file using security-role tag. only registered user and adminitrator are authorized.
The below example demonstrates security in Struts. In this example you will see role based security in web.xml file using security-role tag. only tomcat has role.
The below program demonstrates the different way of declaring Strings in Java. The below program creates different objects of String(s1,s2,s3,s4) by using different ways. Run It Now!