CHAPTER 4: Building a Web Application Using Struts 2 1937.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
Listing 4-36 illustrates the baselayout.jsp file, which defines where the header, footer, and body
content should be inserted.
Listing 4-36. Base layout
1.<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
2.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
5.
6.
7.
8.
9.
10.
11.
12.