browse_book.jsp

来自「利用javaEE开发而实现图书的购买的一个系统」· JSP 代码 · 共 37 行

JSP
37
字号
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
		<%
			String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
		%>
	</head>
	<body>
		<center>
			<img src="<%=path%>/image/sa[1].gif" />
		</center>
		<br>
		<%--<s:set name="catalogs" value="#request['catalogs']"/>--%>
		<s:form action="book_search.action" method="post" theme="simple">
			<center>
				图书类型:
				<%--<s:select list="catalogs.catalogname" name="catalog.catalogname"
					value="catalogs.catalogId">
				</s:select>
				arr_catalogname arr_catalogId
				type="image" src="http://localhost:8080/bookshop/image/b_search.gif"
				--%>
				<s:select list="#request['catalog']" name="catalogId"
					headerKey="0" headerValue="--请选择--"
					listKey="key"
					listValue="value"
					>
				</s:select>
				<s:submit value="提交"></s:submit>
			</center>
		</s:form>
	</body>
</html>

⌨️ 快捷键说明

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