📄 modify.jsp
字号:
<script>
function mycheck(){
if(document.form1.path.value=="null"){
alert("请选择路径!!");
return;
}
document.form1.submit();
}
</script>
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改路径</title>
<style type="text/css">
<!--
.style1 {color: #0000FF}
.style4 {color: #990066}
.style5 {color: #9900CC}
body {
background-color: #FFFFCC;
}
-->
</style>
</head>
<body>
<%! String trace=""; %>
<%
trace=(String)session.getAttribute("ftrace");
%>
<table width="891" height="62" border="0">
<tr>
<th width="885" bgcolor="#66CCFF" scope="col"><div align="left"><img src="image/105948-10.gif" width="350" height="65"></div></th>
</tr>
</table>
<table width="889" height="376" border="0">
<tr>
<td width="10" rowspan="3" bgcolor="#FFFFFF" scope="col"> </td>
<td width="869" height="93" scope="col"><div align="left">
<div align="center">
<pre>当前=><span class="style1">修改路径</span> <span class="style5"><a href="upload.jsp">上传文件</a></span> <span class="style4"><a href="query.jsp">查询文件</a></span></pre>
</div>
</div></td>
</tr>
<tr>
<th height="181" align="center" valign="top" scope="col"><form name="form1" method="post" action="result_of_modify.jsp">
<table width="658" height="100" border="0">
<tr>
<td width="177" scope="col"><div align="center">原存储路径:</div></td>
<td width="471" scope="col"><div align="center"><%=trace%>
</div></td>
</tr>
<tr>
<td align="center" valign="top">新存储路径:</td>
<td>
<div align="center">
请选择
<select name="path" id="path">
<option value="null"></option>
<option value="e:\database\kewei\">e:\database\kewei\</option>
<option value="e:\database\yuanqu\">e:\database\yuanqu\</option>
</select>
</div></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input type="button" name="Submit" value="修改好了" onClick="mycheck()">
</div></td>
</tr>
</table>
</form></th>
</tr>
<tr>
<td> </td>
</tr>
</table>
<p> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -