📄 __relationlist.java
字号:
/* compiled from JSP: /relationlist.jsp
*
* This code was automatically generated at 21:41:58 on 2004-11-11
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*/
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this JSP
// HttpSession session -- the session object for the client (if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's implementation class (i.e., 'this')
/**
* This code was automatically generated at 21:41:58 on 2004-11-11
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __relationlist
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) { while (t != null) { javax.servlet.jsp.tagext.Tag tmp = t; t = t.getParent(); try { tmp.release(); } catch (Exception ignore) {} } } // StaleIndicator interface public boolean _isStale() { weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext()); java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/relationlist.jsp", 1098720115531L, "8.1.3.0", "Asia/Shanghai")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/relationlist.jsp", 1098720115531L, "8.1.3.0", "Asia/Shanghai")) return true; return false; } private static void _writeText(ServletResponse rsp, JspWriter out, String block, byte[] blockBytes) throws IOException { if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) { out.print(block); } else { ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block); } } private static boolean _hasEncodingChanged(ServletResponse rsp) { if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) { return false; } return true; } private static boolean _WL_ENCODED_BYTES_OK = true; private static final String _WL_ORIGINAL_ENCODING = "GBK"; private static byte[] _getBytes(String block) { try { return block.getBytes(_WL_ORIGINAL_ENCODING); } catch (java.io.UnsupportedEncodingException u) { _WL_ENCODED_BYTES_OK = false; } return null; } private final static String _wl_block0 = "\r\n\r\n\r\n\r\n<html>\r\n<head>\r\n<title>所有客户的联系情况</title>\r\n<script type=\"text/javascript\" src=\"js/validate.js\"></script>\r\n<script type=\"text/javascript\" src=\"js/sortabletable.js\"></script>\r\n<link type=\"text/css\" rel=\"StyleSheet\" href=\"css/sortabletable.css\" />\r\n<style type=\"text/css\">\r\n\r\nbody {\r\n\tfont-family:\tVerdana, Helvetica, Arial, Sans-Serif;\r\n\tfont:\t\t\tMessage-Box;\r\n}\r\n\r\ncode {\r\n\tfont-size:\t1em;\r\n}\r\n\r\n/* extra rules for even and odd rows */\r\n.even {\r\n\tbackground:\t#eee;\r\n}\r\n\r\n.odd {\r\n\r\n}\r\n</style>\r\n<script type=\"text/javascript\">\r\n <!-- 分页 Begin -->\r\n\t function currPage( page )\r\n\t\t\t{\r\n\t\t\t\tdocument.relationListForm.curr.value = page;\r\n\t\t\t\tdocument.relationListForm.submit();\r\n\t\t\t}\r\n\t\t\tfunction PrePage( page )\r\n\t\t\t{\r\n\t\t\t\tcurrPage( page-1 );\r\n\t\t\t}\r\n\t\t\tfunction NextPage( page )\r\n\t\t\t{\r\n\t\t\t\tcurrPage( page+1 );\r\n\t\t\t}\r\n function ChangePage()\r\n\t\t\t{\r\n\t\t\t var totalPage = document.relationListForm.totalPage.value;\r\n\t\t\t var changePage = document.relationListForm.changePage.value;\r\n var curr = document.relationListForm.curr.value;\r\n\t\t\t if(changePage < 1)\r\n\t\t\t {\r\n\t\t\t alert(\"输入面号不能小于1,请重新输入\");\r\n document.relationListForm.changePage.value = curr;\r\n\t\t\t }\r\n else if (changePage == curr)\r\n return ;\r\n\t\t\t else if(changePage > totalPage)\r\n {\r\n\t\t\t alert(\"输入的面号不能大于总页面数\");\r\n document.relationListForm.changePage.value = curr;\r\n }\r\n else\r\n\t\t\t currPage(changePage);\r\n\t\t\t}\r\n <!-- 分页 End -->\r\n function changePageSize()\r\n {\r\n //alert(\"pass here\");\r\n if (!isInteger(document.all[\'changeSize\'].value) || document.all[\'changeSize\'].value <= 0 )\r\n {\r\n alert(\"注意:每页显示数为大于0的整数,请重新输入!\");\r\n document.all[\'changeSize\'].value = document.relationListForm.pageSize.value;\r\n return ;\r\n }\r\n relationListForm.curr.value = 1;\r\n relationListForm.pageSize.value = document.all[\'changeSize\'].value;\r\n relationListForm.totalPage.value = -1;\r\n relationListForm.submit();\r\n }\r\n function deleteConfirm()\r\n {\r\n if (!window.confirm(\"确定要删除?\"))\r\n return false;\r\n else\r\n return true;\r\n }\r\n</script>\r\n</head>\r\n<body bgcolor=\"#c0c0c0\">\r\n"; private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0); private final static String _wl_block1 = "\r\n "; private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1); private final static String _wl_block2 = "\r\n "; private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2); private final static String _wl_block3 = "\r\n "; private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3); private final static String _wl_block4 = "\r\n "; private final static byte[] _wl_block4Bytes = _getBytes(_wl_block4); private final static String _wl_block5 = "\r\n <table width=\"80%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" class=\"sort-table\" id=\"table-1\">\r\n \t<thead>\r\n <tr>\r\n <td width=\"13%%\" ><font size=\"-1\">客户编号</font></td>\r\n <td width=\"30%%\" ><font size=\"-1\">客户姓名</font></td>\r\n <td width=\"10%\" ><font size=\"-1\">状态</font></td>\r\n <td width=\"20%\" align=\"right\"><font size=\"-1\">建立时间</font></td>\r\n <td width=\"20%\" align=\"right\"><font size=\"-1\">联系人</font></td>\r\n <td width=\"7%\" align=\"right\"><font size=\"-1\">操作</font></td>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n "; private final static byte[] _wl_block5Bytes = _getBytes(_wl_block5); private final static String _wl_block6 = "\r\n </tbody>\r\n </table>\r\n <table width=\"80%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\" >\r\n <tr >\r\n <td>\r\n "; private final static byte[] _wl_block6Bytes = _getBytes(_wl_block6); private final static String _wl_block7 = "\r\n <font size=\"-1\" color=\"red\">每页显示<input type=\"text\" name=\"changeSize\" value=\'"; private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7); private final static String _wl_block8 = "\' onchange=\"changePageSize();\" size=\"2\" maxlength=\"2\"/>条记录</font>\r\n "; private final static byte[] _wl_block8Bytes = _getBytes(_wl_block8); private final static String _wl_block9 = "\r\n </td>\r\n <td align=\"right\"><font size=\"-1\" color=\"red\">\r\n "; private final static byte[] _wl_block9Bytes = _getBytes(_wl_block9); private final static String _wl_block10 = "\r\n 共"; private final static byte[] _wl_block10Bytes = _getBytes(_wl_block10); private final static String _wl_block11 = "页\r\n 第"; private final static byte[] _wl_block11Bytes = _getBytes(_wl_block11); private final static String _wl_block12 = "页\r\n\t "; private final static byte[] _wl_block12Bytes = _getBytes(_wl_block12); private final static String _wl_block13 = "\r\n\t\t\t<a href=\"javascript:PrePage("; private final static byte[] _wl_block13Bytes = _getBytes(_wl_block13); private final static String _wl_block14 = ")\">前一页</a>\r\n\t "; private final static byte[] _wl_block14Bytes = _getBytes(_wl_block14); private final static String _wl_block15 = "\r\n\r\n "; private final static byte[] _wl_block15Bytes = _getBytes(_wl_block15); private final static String _wl_block16 = "\r\n\t "; private final static byte[] _wl_block16Bytes = _getBytes(_wl_block16); private final static String _wl_block17 = "\r\n\t <a href=\"javascript:NextPage("; private final static byte[] _wl_block17Bytes = _getBytes(_wl_block17); private final static String _wl_block18 = ")\">后一页</a>\r\n\t "; private final static byte[] _wl_block18Bytes = _getBytes(_wl_block18); private final static String _wl_block19 = "\r\n 跳到第<input type=\"text\" name=\"changePage\" value=\""; private final static byte[] _wl_block19Bytes = _getBytes(_wl_block19); private final static String _wl_block20 = "\" size=\"2\" maxlength=\"2\"> 页<font size=\"+1\" color=\"#ffffff\"><a href=\"javascript:ChangePage()\">go</a></font>\r\n "; private final static byte[] _wl_block20Bytes = _getBytes(_wl_block20);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -