WebRoot/peixun/peixunadd.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.util.*"%>
<%
request.setCharacterEncoding("gb2312");
DBO db=new DBO();
db.open();
String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<link href="<%=path %>/css/style.css" rel="stylesheet" type="text/css">
<title>培训添加</title>
<script language="javascript" src="<%=path %>/js/date.js"></script>
<body>
<script language="javascript">
function checkDo(){
if(form.px.value==""){
alert("培训不能为空");
return false;
form.px.focus();
}

if(form.nr.value==""){
alert("内容不能为空");
return false;
form.nr.focus();
}

if(form.pxsj.value==""){
alert("培训时间不能为空");
return false;
form.pxsj.focus();
}

if(form.bz.value==""){
alert("备注不能为空");
return false;
form.bz.focus();
}


form.action="<%=path %>/peixunServlet";
form.submit();
}
</script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
	background-color: #EEF2FB;
}
a:hover{
color:#FF0000;
text-decoration:underline;
后面还有 49 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。