WebRoot/hetong_updt.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="db.db"/>
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<LINK href="CSS.css" type=text/css rel=stylesheet>
<script language="javascript">
function check()
{
if(document.form1.kehubianhao.value=="0"){alert("请选择客户");document.form1.kehubianhao.focus();return false;}
if(document.form1.mingcheng.value==""){alert("请输入项目名称");document.form1.mingcheng.focus();return false;}
if(document.form1.jiner.value==""){alert("请输入合同金额");document.form1.jiner.focus();return false;}
if(document.form1.shijian.value==""){alert("请输入合同签订时间");document.form1.dianhua.focus();return false;}
if(document.form1.dizhi.value==""){alert("请输入联系地址");document.form1.dizhi.focus();return false;}
}
</script>
</head>
<body >
<%
String id=request.getParameter("id");
%>
<form name="form1" id="form1" method="post" action="hetong_updt_post.jsp?id=<%=id %>">
修改合同信息
<br><br>
<%
String sql="select a.*,b.mingcheng as kehumingcheng from hetong a left join kehu b on a.kehubianhao =b.bianhao where a.ID="+id+"";
ResultSet RS_result=connDbBean.executeQuery(sql);
String bianhao="";
String kehubianhao="";
String mingcheng="";
String jiner="";
String shijian="";
String neirong="";
int i=0;
while(RS_result.next()){
id=RS_result.getString("id");
bianhao=RS_result.getString("bianhao");
kehubianhao=RS_result.getString("kehubianhao");
mingcheng=RS_result.getString("mingcheng");
jiner=RS_result.getString("jiner");
neirong=RS_result.getString("neirong");
shijian=RS_result.getString("shijian");
}
%>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#5CACEE" style="border-collapse:collapse">
<tr><td>合同编号:</td><td><%= bianhao %></td></tr>
后面还有 25 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
