⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 article_update.jsp

📁 一个做得非常好的电子政务系统
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="com.ijipin.tool.*" %>
<%@ page import="com.ijipin.database.*" %>
<%@ page import="com.ijipin.property.*" %>
<%@ include file="/userinfor.jsp" %>
<%@ include file="/share/page/page_request.jsp"%>
<%@ page import="com.ijipin.oa.document.*" %>
<%
    ////////////////////////////列表页面所必须有的公共变量
    final String strSkin  = "../../" + userInfor_session.getPFLJ();  //皮肤路径
    final String strLevel = Register.strLevel;  //本页所在的层次
    final String strLink  = Register.strLink_update;    //本页的地址
    final String strLink_action = Register.strLink_action;
    final String strLink_back = Register.strLink_list;
    final int iModuleID= Register.iModuleID;

    //设置查询参数
    String sTable     = "";
    String sField     = "";
    String sCondition = "";

    int iSpace = Message.SPACE;  //空格的宽度
    String sWidth = Message.WIDTH;  //第一个td的百分比宽度

    //新建一个连接
    DataConn dataConn = new DataConn();
    Statement stmt = null;
    ResultSet rs = null;
    DataList dataList = null;


    //是否可以写,如果为false,必须要取消所有的按牛
    boolean canWrite = true;
    if (strACTION.equals("VIEW")) {
        canWrite = false;
    }
%>
<html>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=Message.COMPANY_NAME%></title>
<link href="<%=strSkin%>css.css" rel="stylesheet" type="text/css">
</head>
<%
try {
    stmt = dataConn.getConnection().createStatement();
    dataList = new DataList(stmt);

    String str_value = "";   //临时变量,放字段的值
    String str_field = "";   //字段的名称
    String str_type  = "";   //字段类型
    String key_field = "";   //关键字
    String key_value = "0";   //关键字的值
    int    iFieldCount = 0;  //字段数量
%>
<%@ include file="/share/property/update_property.jsp" %>
<% if (hasEditor) {%>
<script language = "vbscript">
    sub LoadContent
        window_onresize
        dim surl
        surl="http://<%=strServer_session%>:<%=strPort_session%><%=rootPath_session%>/share/editor/load.jsp?key=<%=key_value%>&module=<%=iModuleID%>"
        tbContentElement.LoadURL(sURL)
    end sub
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="vbscript:LoadContent">
<% } else {%>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<% } %>

<%@ include file="/share/page/bar_top.jsp"%>
<!--  工具条上 2004-04-28 -->
<%@ include file="/share/property/update_tool_top.jsp" %>
<!--  数据区 2004-04-28 -->
<%@ include file="/share/property/update_data.jsp" %>
<!--  工具条下 2004-04-28 -->
<%@ include file="/share/property/update_tool_bottom.jsp" %>
<%@ include file="/share/page/page_form.jsp" %>
<%@ include file="/share/property/update_script.jsp" %>
</body>
<%
}
catch(Exception e) {
}
finally {
    if (stmt != null) {
        stmt.close();
    }
    if (dataConn != null) {
        dataConn.close();
    }
}
%>
</html>

⌨️ 快捷键说明

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