heightselectres.jsp

来自「Java + Strut写的网上鲜花购物系统」· JSP 代码 · 共 38 行

JSP
38
字号
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" import="java.util.*,com.qrsx.buyflowers.beans.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<jsp:useBean id="goodsClass"
			class="com.qrsx.buyflowers.beans.GoodsClass" scope="page" />
		
<%
             GoodsBean goodsBean=new GoodsBean();
			String searchkey =request.getParameter("searchkey");
			if(searchkey==null ) 
			searchkey="%";
			
			String action = request.getParameter("action");
			if(action==null) 
			action="%";
			
			String jiage =request.getParameter("jiage");
			if(jiage==null)
			 jiage="%";
			
			String anclassid = request.getParameter("anclassid");
			if(anclassid==null) anclassid="%";

			Collection arraylist = goodsBean.getGoodsByHeightSelect(searchkey,
				 action, jiage, anclassid);
			Iterator it = arraylist.iterator();
			while(it.hasNext()){
			out.println(it.toString());
			}
		%>
</body>
</html>

⌨️ 快捷键说明

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