index.jsp

Posted Cool_001

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了index.jsp相关的知识,希望对你有一定的参考价值。

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

Insert title here
		<span>关键字<input type="text" name="keywords" value="${requestScope.qo.keywords }"></span>&nbsp;
		<span>最小薪资<input type="text" name="min" value="${requestScope.qo.min }"></span>&nbsp;
		<span>最大薪资<input type="text" name="max" value="${requestScope.qo.max }"></span>&nbsp;
		<input type="submit" value="查询">
	</div>
	<table>
		<c:forEach items="${requestScope.pr.resultlist }" var="tmp" varStatus="idx">
			<tr>
				<td>${tmp.id }</td>
				<td>${tmp.name }</td>
				<td>${tmp.salary }</td>
				<td>
					<a href="#">删除</a> &nbsp;
					<a href="#">修改</a>
				</td>
			</tr>
		</c:forEach>
	</table>
	<div>
		<a href="emp?currentpage=1&pagesize=${requestScope.pr.pagesize }">首页</a>&nbsp;
		<a href="emp?currentpage=${requestScope.pr.prevpage }&pagesize=${requestScope.pr.pagesize }">上页</a>&nbsp;
		<%-- <a href="emp?currentpage=${requestScope.pr.nextpage }&pagesize=${requestScope.pr.pagesize }">下页</a>&nbsp; --%>
		<a href="javascript:void(0);" onclick="gofun(${requestScope.pr.nextpage }, ${requestScope.pr.pagesize });">下页</a>&nbsp;
		<%-- <a href="emp?currentpage=${requestScope.pr.pagenumber }&pagesize=${requestScope.pr.pagesize }">末页</a>&nbsp; --%>
		<a href="javascript:void(0);" onclick="gofun(${requestScope.pr.pagenumber }, ${requestScope.pr.pagesize });">末页</a>&nbsp;
		<span>当前第 ${requestScope.pr.currentpage }/${requestScope.pr.pagenumber }页</span>&nbsp;
		<span>一共${requestScope.pr.rows }条数据</span>&nbsp;
		<span>跳转到<input name="currentpage" id="currentpageid" onchange="currentpagechange(${requestScope.pr.pagesize }, this);" type="text" value="${requestScope.pr.currentpage == null ? 1 : requestScope.pr.currentpage }">页</span>&nbsp;
		<span>每页<input name="pagesize" id="pagesizeid" type="text" value="${requestScope.pr.pagesize == null ? 4 : requestScope.pr.pagesize }">条数据</span>&nbsp;
	</div>
</form>
</div>


以上是关于index.jsp的主要内容,如果未能解决你的问题,请参考以下文章

我无法访问 index.jsp 中的嵌套 JavaScript 函数

jsp给js传值怎么传

关于springmvc 只能在index.jsp页面显示图片的处理办法jsp页面无法显示图片

完成后台管理系统功能添加商品中的商品类目的展示

SpringBoot引用jsp报错404:JSP file [/WEB-INF/jsp/index.jsp] not found

SpringBoot引用jsp报错404:JSP file [/WEB-INF/jsp/index.jsp] not found