index.jsp

来自「struts的源代码」· JSP 代码 · 共 40 行

JSP
40
字号
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>

<html:html>
<head>
<title><bean:message key="index.title"/></title>
<html:base/>
</head>
<body bgcolor="white">

    <p>
       <html:link forward="module-root"><bean:message key="index.home"/></html:link>
    </p>

    <hr />
    <p>
       <strong>Change Language | Changez Le Langage:</strong>
       &nbsp;
       <html:link action="/locale?language=en">English | Anglais</html:link>
       &nbsp;
       <html:link action="/locale?language=fr">French | Francais</html:link>
    </p>

    <hr />

    <h3><bean:message key="index.title"/></h3>

    <ul>
       <li><html:link action="/dispatch"><bean:message key="dispatch.title"/></html:link></li>
       <li><html:link action="/mapping"><bean:message key="mapping.title"/></html:link></li>
       <li><html:link action="/lookup"><bean:message key="lookup.title"/></html:link></li>
       <li><html:link action="/actionDispatcher"><bean:message key="actionDispatcher.title"/></html:link></li>
       <li><html:link action="/eventAction"><bean:message key="eventAction.title"/></html:link></li>
       <li><html:link action="/eventDispatcher"><bean:message key="eventDispatcher.title"/></html:link></li>
    </ul>

</body>
</html:html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?