password_set_success.jsp

来自「一款用 java开发的文件管理软件」· JSP 代码 · 共 42 行

JSP
42
字号
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>密码设置</title>
     <link rel="stylesheet" href="../css/default.css"/>
     
     <script type="text/javascript">
		function closeWin(){
		
			window.close();
			window.opener.location.reload();
		}
		
		function conditionChange(){
		
			document.getElementById('alertForm').style.display = "block";
			document.getElementById('inputForm').style.display = "none";
		}
     </script>
</head>
<body>    
    
    <%
    	String fileId = (String)request.getParameter("fileId");
	%>
    <form action="download.action" onsubmit="conditionChange()">
    	<input type="hidden" name="fileId" value="<%=fileId%>">
        
        <div id="alertForm">
        	<h3 align="center">密码设置成功!</h3>
        	<table algin="center" width="100%">
        		<tr>
	                <td align="center"><input class="btn" type="button" value="关闭" onclick="closeWin()"></td>
	            </tr>
	        </table>
        </div>
        
    </form>    
</body>
</html>

⌨️ 快捷键说明

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