CHAPTER 4: Building a Web Application Using Struts 2 191
When the user is logged in, the user’s name is displayed on the header, and the menu appears,
as illustrated in Figure 4-20.
Figure 4-22 illustrates the directory structure with the template files.
Figure 4-22. The directory structure with the template files
You need to modify the pom.xml file with struts 2-tiles3-plugin and slf4j-log4j12, as illustrated in
Listing 4-33. These plug-ins are required to integrate Tiles with Struts 2.
Listing 4-33. struts-tiles and slf4j-log4j12 Plug-Ins