汽车租赁管理系统/反编译出来的文件/carRentalSystem/custManager/updateCustomers.jsp

(开头部分) 6KB

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

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"  %>
<%
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%>">
    
    <title>My JSP 'updateCustomers.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	 <link type="text/css" rel="stylesheet" href="<%=basePath%>/css/public.css">
	 <script type="text/javascript">
   	function subForm(){
   		 		//判断身份证
	var ity = new RegExp("[0-9a-zA-Z]{18}");
	//判断客户
	var unm = new RegExp("[^\w]|[a-zA-Z_0-9]{1,10}");
	//判断地址
	var add = new RegExp("[^\w]|[a-zA-Z_0-9]{1,20}");
	//判断密码
	var pwd = new RegExp("\\w{4,20}");
	var pho = new RegExp("[0-9]{7,11}");
	var careerRegex = new RegExp("[^\w]|[a-zA-Z_0-9]{1,20}");
	
	var identity = document.getElementById("identity");
	var custname = document.getElementById("custName");
	var address = document.getElementById("address");
	var phone = document.getElementById("phone");
	var carrer = document.getElementById("career");
	if(identity.value == null || identity.value == ""){
		alert("身份证不能为空。英文,数字,长度18位");
		identity.select();
		return false;
	}else if(identity.value.match(ity) == null){
		alert("身份证格式有误。英文,数字,长度18位");
		identity.select();
		return false;
	//判断客户是否为空,是否匹配
    }else if(custname.value == null || custname.value == ""){
		alert("客户名不能为空。英文,汉字,数字,长度1-10位");
		custname.select();
		return false;
	}else if(custname.value.match(unm) == null){
		alert("客户名格式有误。英文,汉字,数字,长度1-10位");
		custname.select();
		return false;
	//判断地址是否为空,是否匹配
	}else if(address.value == null || address.value == ""){
后面还有 105 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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