📄 optionsresults.jsp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html xhtml="true" locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Select / Options example results</title>
</head>
<body>
<p>Fruit 1: <bean:write name="optionActionForm" property="fruit1" /></p>
<p>Fruit 2: <bean:write name="optionActionForm" property="fruit2" /></p>
<p>Fruit 3:
<logic:iterate name="optionActionForm" property="fruit3" id="fruit">
<bean:write name="fruit" />
</logic:iterate>
</p>
<p>Color 1: <bean:write name="optionActionForm" property="color1" /></p>
<p>Color 2: <bean:write name="optionActionForm" property="color2" /></p>
<p>Color 3: <bean:write name="optionActionForm" property="color3" /></p>
<p>Day 1: <bean:write name="optionActionForm" property="day1" /></p>
<p>Day 2: <bean:write name="optionActionForm" property="day2" /></p>
<p>Book 1: <bean:write name="optionActionForm" property="book1" /></p>
<p>Book 2: <bean:write name="optionActionForm" property="book2" /></p>
<p>Animal 1: <bean:write name="optionActionForm" property="animal1" /></p>
<p>Animal 2: <bean:write name="optionActionForm" property="animal2" /></p>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -