Java Reference
In-Depth Information
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
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-tiles3-plugin</artifactId>
<version>2.3.15.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.6</version>
</dependency>
 
Search WWH ::




Custom Search