?? copy_dist_directory.jsp
字號:
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>選擇目標文件夾</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/default.css" />
<script language="JavaScript" src="../js/calendar.js"></script>
<script type="text/javascript">
function closeWin(){
window.close();
}
function $(name){
return document.getElementById(name);
}
function chooseDist(){
dir = document.moveFileTo.fileFolder;//getElementByName("fileFolder");
for(var i=0; i<dir.options.length;i++){
if(dir.options[i].selected)
{
window.opener.document.getElementById("fileFolder").value = dir.options[i].text;
// alert(dir.options[i].text);
}
}
window.opener.document.forms['filesForm'].action="copyFileTo.action";
window.opener.document.forms['filesForm'].submit();
window.close();
}
</script>
</head>
<body>
<s:form name="moveFileTo" action="moveFileTo.action"
onsubmit="return checkAll();" method="post">
<table class="default1" id="tb" align="center">
<tr class="title">
<td colspan="2" align="center">選擇目標文件夾</td>
</tr>
<tr>
<td algin="right">目標文件夾:
<select name="fileFolder">
<option>root</option>
<s:iterator id="files" value="#request.folderList">
<option><s:property/></option>
</s:iterator>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="button" name="close"
onclick="closeWin()" value="關閉窗口" class="btn"><input
type="button" name="submit" onclick="chooseDist()" value="確認創(chuàng)建" class="btn"></td>
</tr>
</table>
</s:form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -