File: bean-resource.jsp

package info (click to toggle)
libstruts1.2-java 1.2.9-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 47,516 kB
  • ctags: 29,430
  • sloc: xml: 90,344; java: 71,078; jsp: 31,692; makefile: 10; sh: 2
file content (26 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<html>
  <head>
    <title>Test struts-bean:resource Tag</title>
  </head>
  <body>
    <div align="center">
      <h1>Test struts-bean:resource Tag</h1>
    </div>
    <bean:resource id="webxml" name="/WEB-INF/web.xml" />
    <p>Display the contents of the 
    <code>WEB-INF/web.xml</code>resource for this web application, with no filtering.</p>
    <hr />
    <pre>
<%= webxml %>
</pre>
    <hr />
    <p>Display the contents of the 
    <code>WEB-INF/web.xml</code>resource for this web application, with filtering.</p>
    <hr />
    <pre>
<bean:write name="webxml" filter="true" />
</pre>
    <hr />
  </body>
</html>