📄 newuserstep.jsp
字号:
<%@ page language="java" import="java.util.*,java.sql.*,java.lang.*" 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%>">
<title>My JSP 'NewUserStep.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">
-->
</head>
<body>
<font color="red">新增用户界面</font><br>
<font color="red">${error}</font><br>
<form action="user" method="post" name="User" onsubmit="return checkForm()">
手机号码:<input type="text" name="mobileNumber" value="<%=request.getAttribute("mobileNumber") %>"><br>
漫游状态:<input type="radio" name="Status" value="P" checked="checked">省内漫游
<input type="radio" name="Status" value="D">国内漫游
<input type="radio" name="Status" value="I">国际漫游
<br><br>
通话级别:<input type="radio" name="Level" value="L" checked="checked">本地通话
<input type="radio" name="Level" value="D">国内长途
<input type="radio" name="Level" value="I">国际长途
<br><br>
客户ID:<input type="text" name="" value="<%=request.getAttribute("customerId") %>" disabled="disabled"><br>
<input type="hidden" name="customerId" value="<%=request.getAttribute("customerId") %>">
账号:<input type="text" name="accountId" value="<%=request.getAttribute("accountId") %>"><br>
<input type="submit" name="" value="下一步" onclick=""><input type="reset" name="">
</form>
</body>
</html>
<Script language="JavaScript">
function checkForm(){
var theForm = document.User;
if(theForm.mobileNumber.value.length < 11){
alert("请输入十一位手机号码");
theForm.mobileNumber.value="";
theForm.mobileNumber.focus();
return false;
}else{
return true;
}
}
</Script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -