mapping.jsp
来自「ActionServlet源码 struts的一个步骤都有 知道本来有视频的太」· JSP 代码 · 共 86 行
JSP
86 行
<%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %><%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %><%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %>
<%--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--%>
<html:html>
<head>
<title><bean:message key="mapping.title" /></title>
<html:base />
</head>
<body bgcolor="white">
<p>
<html:link forward="module-root"><bean:message key="index.home"/></html:link>
<html:link forward="module-dispatch"><bean:message key="index.title"/></html:link>
</p>
<hr />
<p>
<strong>Change Language | Changez Le Langage:</strong>
<html:link action="/dispatchLocale?language=en">English | Anglais</html:link>
<html:link action="/dispatchLocale?language=fr">French | Francais</html:link>
</p>
<hr />
<h3><bean:message key="mapping.title" /></h3>
<logic:messagesPresent>
<html:messages id="msg">
<p><strong><font color="red"><bean:write name="msg" /></font></strong></p>
</html:messages>
</logic:messagesPresent>
<logic:messagesPresent message="true">
<html:messages message="true" id="msg">
<p><strong><bean:write name="msg" /></strong></p>
</html:messages>
</logic:messagesPresent>
<logic:messagesNotPresent message="true">
<logic:messagesNotPresent>
<p> </p>
</logic:messagesNotPresent>
</logic:messagesNotPresent>
<p>
<html:form action="mapping-foo" style="display:inline">
<html:submit><bean:message key="button.foo.label" /></html:submit>
</html:form>
<html:form action="mapping-bar" style="display:inline">
<html:submit><bean:message key="button.bar.label" /></html:submit>
</html:form>
<html:form action="mapping-invalid" style="display:inline">
<html:submit><bean:message key="button.invalid.label" /></html:submit>
</html:form>
<html:form action="mapping-execute" style="display:inline">
<html:submit><bean:message key="method.execute.label" /></html:submit>
</html:form>
<html:form action="mapping-noparam" style="display:inline">
<html:submit><bean:message key="parameter.missing.label" /></html:submit>
</html:form>
</p>
</body>
</html:html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?