~ubuntu-branches/ubuntu/trusty/libstruts1.2-java/trusty-proposed

« back to all changes in this revision

Viewing changes to web/examples/exercise/bean-include.jsp

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-11-19 15:35:25 UTC
  • Revision ID: james.westby@ubuntu.com-20041119153525-mdu08a76z4zo67xt
Tags: upstream-1.2.4
ImportĀ upstreamĀ versionĀ 1.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
 
2
<html>
 
3
  <head>
 
4
    <title>Test struts-bean:include Tag</title>
 
5
  </head>
 
6
  <body>
 
7
    <div align="center">
 
8
      <h1>Test struts-bean:include Tag</h1>
 
9
    </div>
 
10
    <bean:include id="welcome" page="/welcome.jsp" />
 
11
    <p>Display the contents returned by invoking
 
12
    <code>/welcome.html</code>directly, with no filtering.</p>
 
13
    <hr />
 
14
    <pre>
 
15
<%= welcome %>
 
16
</pre>
 
17
    <hr />
 
18
    <p>Display the contents returned by invoking 
 
19
    <code>/welcome.html</code>directly, with filtering.</p>
 
20
    <hr />
 
21
    <pre>
 
22
<bean:write name="welcome" filter="true" />
 
23
</pre>
 
24
    <hr />
 
25
  </body>
 
26
</html>