⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setpsw.jsp

📁 大型数据库课程设计源码
💻 JSP
字号:
<%@ page language="java"   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>
    <base href="<%=basePath%>">
    
    <title>My JSP 'setPsw.jsp' starting page</title>
    <meta http-equiv="Page-Enter" content="revealTrans(duration=2, transition=10)"> 
	<meta http-equiv="Page-Exit" content="revealTrans(duration=1, transition=2)">  
    
	<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">
	-->
	<script language="JavaScript"> 
	<!-- 
		function Juge(theForm) 
		{ 

			if (theForm.newpwd.value == "") 
			{ 
				alert("请输入新密码!"); 
				theForm.newpwd.focus(); 
				return (false); 
			} 
			}
			--></script>
  </head>
  <%! int i=0; %>
  <body>
    <%String name=(String)session.getAttribute("name");
    	if(name==null){
    		response.sendRedirect("login.jsp");
    	}
     %>
     <form action="/netservice/servlet/NewpswServlet" method=post name="theForm "onsubmit="javascript:return Juge(this);">
     <center>输入新密码:<input type=text name="newpwd" maxlength="20"><p>
     <input type=submit name="submit" value="确认">
     </center><br>
     </form>
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -