1 /*
2 * Title: BodyTag
3 * Description:
4 *
5 * This software is published under the terms of the OpenSymphony Software
6 * License version 1.1, of which a copy has been included with this
7 * distribution in the LICENSE.txt file.
8 */
9
10 package com.opensymphony.module.sitemesh.taglib.decorator;
11
12 import com.opensymphony.module.sitemesh.taglib.AbstractTag;
13
14 /**
15 * Write original Page body to out.
16 *
17 * @author <a href="joe@truemesh.com">Joe Walnes</a>
18 * @author <a href="scott@atlassian.com">Scott Farquhar</a>
19 * @version $Revision: 1.2 $
20 *
21 * @see com.opensymphony.module.sitemesh.HTMLPage#writeBody(java.io.Writer)
22 */
23 public class BodyTag extends AbstractTag {
24 public final int doEndTag() {
25 try {
26 getPage().writeBody(getOut());
27 }
28 catch (Exception e) {
29 trace(e);
30 }
31 return EVAL_PAGE;
32 }
33
34 }