📄 browse_book.jsp
字号:
<%@ 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -