~ubuntu-branches/ubuntu/lucid/libstruts1.2-java/lucid

« back to all changes in this revision

Viewing changes to contrib/struts-faces/web/example2/layout.jsp

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2006-04-24 12:14:23 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060424121423-naev53qigqgks0sa
Tags: 1.2.9-1
New upstream  release Fixes  three security  problems: CVE-2006-1546,
CVE-2006-1547,  CVE-2006-1548  (closes:  #360551),  thanks  to  Moritz
Muehlenhoff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2
 
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
3
 
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
4
 
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
5
 
<%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
6
 
<%@ taglib prefix="t" uri="/WEB-INF/struts-tiles.tld" %>
7
 
 
8
 
 
9
 
<!--
10
 
 
11
 
 Copyright 2002,2004 The Apache Software Foundation.
12
 
 
13
 
 Licensed under the Apache License, Version 2.0 (the "License");
14
 
 you may not use this file except in compliance with the License.
15
 
 You may obtain a copy of the License at
16
 
 
17
 
      http://www.apache.org/licenses/LICENSE-2.0
18
 
 
19
 
 Unless required by applicable law or agreed to in writing, software
20
 
 distributed under the License is distributed on an "AS IS" BASIS,
21
 
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
 
 See the License for the specific language governing permissions and
23
 
 limitations under the License.
24
 
 
25
 
-->
26
 
 
27
 
 
28
 
<f:view>
29
 
  <s:loadMessages     var="messages"/>
30
 
  <s:html          locale="true">
31
 
    <head>
32
 
      <title><s:message key="layout.title"/></title>
33
 
      <s:stylesheet path="/stylesheet.css"/>
34
 
    </head>
35
 
    <body>
36
 
      <table border="1" width="100%" cellspacing="5">
37
 
        <tr>
38
 
          <th colspan="2" align="center">
39
 
            <f:subview id="header">
40
 
              <t:insert attribute="header" flush="false"/>
41
 
            </f:subview>
42
 
          </th>
43
 
        </tr>
44
 
        <tr>
45
 
          <td width="140" valign="top">
46
 
            <f:subview id="menu">
47
 
              <t:insert attribute="menu" flush="false"/>
48
 
            </f:subview>
49
 
          </td>
50
 
          <td align="left" valign="top">
51
 
            <f:subview id="body">
52
 
              <t:insert attribute="body" flush="false"/>
53
 
            </f:subview>
54
 
          </td>
55
 
        </tr>
56
 
        <tr>
57
 
          <td colspan="2" align="center">
58
 
            <f:subview id="footer">
59
 
              <t:insert attribute="footer" flush="false"/>
60
 
            </f:subview>
61
 
          </td>
62
 
        </tr>
63
 
      </table>
64
 
    </body>
65
 
  </s:html>
66
 
</f:view>