📄 logic-forward.jsp
字号:
<%@ 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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -