下面是我的代码,刚才在机房还好用,为什么现在就报错啊?错误如下!
错误:对象不支持此属性和方法
-----------------------------------------------------------
<%@page contentType="text/html; charset=GBK"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><title>管理页面</title><!--后台管理CSS样式表-->
<jsp:include flush="" page="css/main.css"/>
<body><BR><BR>
<object id="fileDialog" width="0px" height="0px" classid="clsid:F9043C85-F6F2-101A-A3C9-08002B2F49FB" codebase="http://activex.microsoft.com/controls/vb5/comdlg32.cab"></object>
<table border="0" cellspacing="1" cellpadding="5" align=center width="95%" class="tableBorder">
  <tr>
    <th>      &nbsp;&nbsp;
      <B>备份数据</B>
    </th>
  </tr>
  <form name="data" action="datebackup.jsp" method="post">
  <tr>
    <td class="forumrow"> &nbsp;&nbsp;
      备份数据库路径(选择路径):
      <input name="path" type="text" id="path" value="">      
      <input type=button value=选择保存路径 onclick="saveDoc()">
      <script language="javascript">
      function saveDoc()
      {
          fileDialog.CancelError=true;
          fileDialog.Filter="Sql Datebak (*.bak)|*.bak";
          fileDialog.ShowSave();////////////////////////////错误:对象不支持此属性和方法?
          document.all.path.value=fileDialog.filename;
      }
      </script></td>
    </tr>
  <tr>
    <td class="forumrow"><li>如备份目录有该文件,将覆盖,如没有,将自动创建</li> <br>
      <li>强烈建议数据库的备份名称使用当前日期</li>      </td>
  </tr>
  <tr>
    <td class="forumrow"><center><input name="submit" type=submit value="确  定"></center></td>
  </tr>
  </form>
</table>
</body>
------------------------------datebackup.jsp文件----------------------------
<%@page contentType="text/html; charset=GBK"%>
<%@page import="java.sql.*" %>
<jsp:useBean id="jd" class="com.ht.qfb.JD"/>
<%
    String path = request.getParameter("path"); 
    if(path.equals("")||path==null)
    {
      %>
      <script language="javascript">
      alert("请先选择备份的路径!");
      location.href="javascript:window.history.go(-1)";
      </script>
      <%
      return;
    }
%>-------------------------------------------
高手帮忙啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!