jsp代码我都会写,就是不知道后台代码怎么解决,求大神相助<div align="center">
<form id="searchForm" action="<%=request.getContextPath()%>/servlet/SelectServlet" method="post">
<div>
字段: <select name="categoryId">
<option value="0">全部</option>
<c:forEach var="category" items="${categorylist}" varStatus="status">
<option value='${category.id}'>${category.name}</option>
</c:forEach>
</select>
<select name="mark1">
<option></option>
<option value='等于'>等于</option>
<option value='不等于'>不等于</option>
<option value='小于或等于'>小于或等于</option>
<option value='小于'>小于</option>
<option value='大于'>大于</option>
<option value='大于或等于'>大于或等于</option>
<option value='是null'>是null</option>
<option value='不是null'>不是null</option>
<option value='介于'>介于</option>
<option value='非介于'>非介于</option>
<option value='包含'>包含</option>
<option value='不包含'>不包含</option>
</select> <input type="text" name="cont" id="cont" value=""/>
<select name="mark2">
<option></option>
<option value='and'>and</option>
<option value='or'>or</option>
<option value='and not'>and not</option>
<option value='or not'>or not</option>
</select> <input type="submit" value="查询" />
</div>
</form>
</div>
添加回答
举报
0/150
提交
取消