Java Reference
In-Depth Information
<tr id="body">
<decorator:body />
<tr id="footer">
<h3>eInsure - All rights reserved </h3>
Note that I have used a SiteMesh-specific tag library to create the layout. The
decorator:title tag picks up the title information from the response sent by the front
controller. Similarly, the decorator:head and decorator:body tags include the information
in the head and body tags of the original response and put them in the layout. The header
and footer information is consolidated at a common place in the layout. To use this lay-
out framework and the different tags, you must include SiteMesh filter and tag definition
in the web.xml file, as shown in Listing 3-55.
Listing 3-55. web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns=""
xsi:schemaLocation="" >
<!-- Start of SiteMesh filter config -->
Search WWH ::

Custom Search