WebRoot/files/product/add.jsp

(开头部分) 3KB

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

<%@ page language="java" import="java.util.*,java.sql.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!-- 
功能介绍:添加

 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" rev="stylesheet" href="css/style.css" type="text/css" media="all" />
<style type="text/css">
<!--
.atten {font-size:12px;font-weight:normal;color:#F00;}
-->
</style>
<script type="text/javascript">
		function checkValue(){
				if(document.mainForm.productname.value==""||document.mainForm.productname.value==null)
				{
					alert("不能为空!");
					document.mainForm.productname.focus();
					return false;
				}
				if(document.mainForm.num.value==""||document.mainForm.num.value==null)
				{
					alert("不能为空!");
					document.mainForm.num.focus();
					return false;
				}
				if(document.mainForm.inputdate.value==""||document.mainForm.inputdate.value==null)
				{
					alert("不能为空!");
					document.mainForm.inputdate.focus();
					return false;
				}
				if(document.mainForm.counts.value==""||document.mainForm.counts.value==null)
				{
					alert("不能为空!");
					document.mainForm.counts.focus();
					return false;
				}
				if(document.mainForm.remark.value==""||document.mainForm.remark.value==null)
				{
					alert("不能为空!");
					document.mainForm.remark.focus();
					return false;
				}
				return true;
		}
</script>
</head>

<body class="ContentBody">
  <form action="product_addProduct" method="post"  name="mainForm" id="mainForm" onSubmit="return checkValue()" >
<div class="MainDiv">
后面还有 70 行代码,购买后查看完整代码

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

AI 解读 AI

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

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