package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class list_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_varStatus_var_items;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_forEach_varStatus_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_forEach_varStatus_var_items.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>list</title>\r\n");
out.write("</head>\r\n");
out.write("<!--\r\n");
out.write(" * <p>Title: </p>\r\n");
out.write(" *\r\n");
out.write(" * <p>Description: </p>\r\n");
out.write(" *\r\n");
out.write(" * <p>Copyright: Copyright (c) 2007</p>\r\n");
out.write(" *\r\n");
out.write(" * <p>Company: </p>\r\n");
out.write(" *\r\n");
out.write(" * @author 寻觅\r\n");
out.write(" * @version 1.0\r\n");
out.write(" */\r\n");
out.write("-->\r\n");
out.write("<body bgcolor=\"#ffffff\">\r\n");
out.write("<h1> 存储过程分页演示\r\n");
out.write(" <hr>\r\n");
out.write("</h1>\r\n");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write("<!--大家再自己扩展一下,判断没有上一页的情况和没有下一页的情况....以及首页和尾页/提示:加个查询总页数的方法-->\r\n");
out.write("\r\n");
out.write("<a href=\"servlet1?pages=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pages-1}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"> 上一页</a>/\r\n");
out.write("<a href=\"servlet1?pages=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pages+1}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"> 下一页</a>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_varStatus_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_0.setParent(null);
_jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${alist}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_forEach_0.setVar("v");
_jspx_th_c_forEach_0.setVarStatus("va");
int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v.username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write('_');
out.write('_');
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${v.pwd}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("<hr />\r\n");
int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_forEach_0[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_forEach_0.doCatch(_jspx_exception);
} finally {
_jspx_th_c_forEach_0.doFinally();
_jspx_tagPool_c_forEach_varStatus_var_items.reuse(_jspx_th_c_forEach_0);
}
return false;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
海量数据分页解决方案_demo
共84个文件
t:10个
class:8个
jar:5个
需积分: 10 14 下载量 27 浏览量
2008-10-16
14:33:43
上传
评论
收藏 763KB RAR 举报
温馨提示
海量数据分页解决方案,采用存储过程通用分页.
资源推荐
资源详情
资源评论
收起资源包目录
_demo.rar (84个子文件)
proc_page_demo
Tomcat
work
WebModule1
org
apache
jsp
list_jsp.class 7KB
list_jsp.java 6KB
loader
META-INF
MANIFEST.MF 68B
com
microsoft
util
transliteration.properties 2KB
273.t 768B
500.t 768B
278.t 768B
285.t 768B
297.t 768B
280.t 768B
EBCDIC.t 768B
ISO8859-1.t 768B
850.t 768B
37.t 768B
tldCache.ser 44B
webapps
Servlet.library 227B
WebModule1
WEB-INF
web.xml 571B
lib
jstl.jar 20KB
msbase.jar 275KB
mssqlserver.jar 59KB
msutil.jar 57KB
standard.jar 384KB
classes
com
xh369
dao
Admin_DAO.class 2KB
vo
Servlet1.class 2KB
Admin_Form.class 1KB
list.jsp 737B
bak
com
xh369
dao
Admin_DAO.java~45~ 1KB
Admin_DAO.java~48~ 2KB
Admin_DAO.java~47~ 2KB
Admin_DAO.java~43~ 1KB
Admin_DAO.java~41~ 1KB
Admin_DAO.java~49~ 2KB
Admin_DAO.java~46~ 1KB
Admin_DAO.java~42~ 1KB
Admin_DAO.java~40~ 1KB
Admin_DAO.java~44~ 1KB
vo
Servlet1.java~16~ 1KB
Servlet1.java~13~ 1KB
Servlet1.java~20~ 1KB
Servlet1.java~18~ 1KB
Servlet1.java~12~ 1KB
Servlet1.java~21~ 1KB
Admin_Form.java~1~ 438B
Servlet1.java~17~ 1KB
Servlet1.java~19~ 1KB
Admin_Form.java~2~ 223B
Servlet1.java~15~ 1KB
Servlet1.java~14~ 1KB
WebModule1
list.jsp~16~ 583B
WEB-INF
web.xml~4~ 571B
web.xml~7~ 1KB
web.xml~8~ 571B
web.xml~3~ 315B
web.xml~11~ 1KB
web.xml~2~ 315B
web.xml~5~ 1KB
web.xml~9~ 1KB
web.xml~6~ 571B
web.xml~10~ 571B
list.jsp~22~ 636B
list.jsp~15~ 578B
list.jsp~18~ 624B
list.jsp~14~ 552B
list.jsp~17~ 624B
list.jsp~20~ 625B
list.jsp~21~ 625B
list.jsp~13~ 542B
list.jsp~19~ 624B
src
com
xh369
dao
Admin_DAO.java 2KB
vo
Servlet1.java 1KB
Admin_Form.java 886B
Admin_Form.jbx 240B
proc_page_demo.jpx.local 2KB
proc_page_demo.jpx 8KB
proc_page_demo.jpx.local~ 2KB
msjar.library 360B
classes
Generated Source
.jsp
WebModule1
org
apache
jsp
list_jsp.java 5KB
jsp cache
WebModule1
org
apache
jsp
list_jsp.class 6KB
package cache
org.apache.jsp.dep2 4KB
com
xh369
dao
Admin_DAO.class 2KB
vo
Servlet1.class 2KB
Admin_Form.class 1KB
package cache
com.xh369.dao.dep2 2KB
com.xh369.vo.dep2 2KB
共 84 条
- 1
资源评论
wzh369
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功