File: logic-forward.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 (25 lines) | stat: -rw-r--r-- 1,104 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
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<html>
  <head>
    <title>Test struts-logic:forward and struts-logic:redirect Tags</title>
  </head>
  <body>
    <div align="center">
      <h1>Test struts-logic:forward and struts-logic:redirect Tags</h1>
    </div>
    <p>The following links should return to this page.</p>
    <ul>
    <li><a href="logic-forward.do?value=test">Standard hyperlink back to this page</a></li>
    <li><html:link action="/logic-forward-test-forward?value=test">Forward to this page</html:link></li>
    <li><html:link action="/logic-redirect-test-action?value=test">Redirect to this page, via action attribute</html:link></li>
    <li><html:link action="/logic-redirect-test-forward?value=test">Redirect to this page, via forward attribute</html:link></li>
    <li><html:link action="/logic-redirect-test-page?value=test">Redirect to this page, via page attribute</html:link></li>
    </ul>
    <hr />
    <ul>
      <li>
        <html:link forward="relative">Taglibs Exercise welcome page</html:link>
      </li>
    </ul>
  </body>
</html>