WebRoot/user_add.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
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>
<meta http-equiv="Content-Language" content="zh-cn">
<base href="<%=basePath%>">
<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">
</head>
<script language="JavaScript">
function login11()
{
var reg = "^[0-9a-zA-Z]+([0-9a-zA-Z])+$";
var regu = "^[0-9a-zA-Z]+$";
var re = new RegExp(reg);
if (document.form1.name.value == "" )
{
alert("请输入会员姓名!");
document.form1.name.focus();
return false;
}
if (document.form1.age.value == "" )
{
alert("请输入年龄!");
document.form1.age.focus();
return false;
}
if (isNaN(document.form1.age.value ) )
{
alert("年龄必须是数字!");
document.form1.age.focus();
return false;
}
if (document.form1.phone.value == "" )
{
alert("请输入电话!");
document.form1.phone.focus();
return false;
}
if (isNaN(document.form1.phone.value ) )
{
alert("电话必须是数字!");
document.form1.phone.focus();
return false;
}
if (document.form1.addr.value == "" )
{
alert("请输入地址!");
document.form1.addr.focus();
return false;
后面还有 60 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
