Update of
/var/cvs/contributions/CMSContainer_Modules/staticdownload/src/webapp/editors/modules/staticdownload
In directory
james.mmbase.org:/tmp/cvs-serv5809/staticdownload/src/webapp/editors/modules/staticdownload
Modified Files:
download.jsp
Log Message:
CMSC-1017 - Static download module uses inefficient functions to write files
and doesn't close all file handles.
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/staticdownload/src/webapp/editors/modules/staticdownload
See also: http://www.mmbase.org/jira/browse/CMSC-1017
Index: download.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/staticdownload/src/webapp/editors/modules/staticdownload/download.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- download.jsp 31 May 2007 14:49:26 -0000 1.1
+++ download.jsp 15 Jul 2008 10:24:55 -0000 1.2
@@ -6,7 +6,7 @@
<head>
<title><fmt:message key="download.title" /></title>
<link href="../../css/main.css" type="text/css" rel="stylesheet" />
- <script>
+ <script type="text/javascript">
function openError(staticDownload) {
openWindow("error", staticDownload);
}
@@ -75,7 +75,7 @@
<mm:field name="completed"
jspvar="completed" write="false" vartype="Long"/>
<c:set var="running"
value="${empty completed}"/>
<c:if test="${running}">
- <script>
+ <script
type="text/javascript">
setTimeout("document.location.href = 'download.jsp'",5000);
</script>
<c:set
var="completed"><%=System.currentTimeMillis()/1000%></c:set>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs