⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 importexport.jsp

📁 解觖java技术中后台无法上传数给的情况
💻 JSP
📖 第 1 页 / 共 2 页
字号:
        <tr class="portlet-section-body">
          <td align="left" colspan="3">
            <input type="radio" name="ServerImportFile" value="" checked>
            Other:&nbsp;<input type="file" value="Browse" name="ClientImportFile" size="52"/>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr class="portlet-section-alternate">
    <td align="left">
      Backup file type:<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ImportType" value="<%=MVNForumConfig.IMPORTEXPORT_TYPE_MVN_XML%>" checked>
      mvnForum XML (import only database info, no attachments, message folders, avatars, ...)<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ImportType" value="<%=MVNForumConfig.IMPORTEXPORT_TYPE_MVN_ZIP%>">
      mvnForum ZIP (also import attachments, avatars, message folders)<br/>
    </td>
  </tr>
  <tr class="portlet-section-body">
    <td align="left">
      In case of error...<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ClearIfError" value="1" checked>
      clear the database and create default admin member (password will be "admin")<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ClearIfError" value="0">
      do not clear the database and do not create default admin member
      <br/>
      We strongly suggest you to leave the previous option on (so you don't end up with
      an invalid forum state).<br/>
      If errors occur, try to correct them before retrying import.
      And for your security, remember to change your password after completition.
    </td>
  </tr>
  <tr class="portlet-section-alternate">
    <td align="center">
      <select name="MessageLevel" size="1">
        <option value="<%=MVNForumConfig.MESSAGE_LEVEL_ALL_MESSAGES%>" selected>Output all messages during the process
        <option value="<%=MVNForumConfig.MESSAGE_LEVEL_IMPORTANT_MESSAGES%>">Output only errors and important messages
        <option value="<%=MVNForumConfig.MESSAGE_LEVEL_ONLY_ERRORS%>">Output only error messages
      </select>
    </td>
  </tr>
  <tr class="portlet-section-footer">
    <td align="center">
      <input type="button" name="submitbutton" value="Import/Restore" onclick="javascript:Submit_RestoreForm();" class="portlet-form-button">
      <input type="reset" value="Reset" class="liteoption">
    </td>
  </tr>
</table>
</form>

<br/>
<br/>

<%-- ===================================================================
     ============== MIGRATE (import from Jive Forums XML) ==============
     =================================================================== --%>
<a name="importmigrate"/>
<form method="post" action="<%=urlResolver.encodeURL(request, response, "importprocess" , URLResolver.ACTION_URL)%>" enctype="multipart/form-data" name="migrateform">
<%=urlResolver.generateFormAction(request, response, "importprocess")%>
<table class="tborder" width="98%" cellspacing="1" cellpadding="3" align="center">
  <tr class="portlet-section-header">
    <td colspan="2">Migrate from other sources</td>
  </tr>
  <tr class="portlet-section-body">
    <td colspan="2" align="center" valign="top">
      Input file to import from:
      <input type="file" value="Browse" name="ClientImportFile" size="52">
    </td>
  </tr>
  <tr class="portlet-section-alternate">
    <td colspan="2" align="left">
      Import file type:<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ImportType" value="<%=MVNForumConfig.IMPORTEXPORT_TYPE_JIVE_XML%>" checked>
      Jive XML (xmlversion="1.0", http://www.jivesoftware.com/jive.dtd)
    </td>
  </tr>
  <tr class="portlet-section-body">
    <td align="right" valign="top">
      Enter Jive's admin username (will be created if it doesn't already exist):
    </td>
    <td width="35%" align="left" valign="top">
      <input type="text" value="Admin" name="JiveAdmin" size="32">
    </td>
  </tr>
  <tr class="portlet-section-alternate">
    <td align="right" valign="top">
      Enter mvnForum's virtual Guest username (will be created):
    </td>
    <td width="35%" align="left" valign="top">
      <input type="text" value="<%=MVNForumConfig.getDefaultGuestName()%>" name="JiveGuest" size="32">
    </td>
  </tr>
  <tr class="portlet-section-body">
    <td align="right" valign="top">
      Set all forum passwords to (not implemented - please leave empty):
    </td>
    <td width="35%" align="left" valign="top">
      <input type="text" value="" name="ForumPasswords" size="32"/>
    </td>
  </tr>
  <tr class="portlet-section-alternate">
    <td align="right" valign="top">
      Put all Jive forums into the root category named:
    </td>
    <td width="35%" align="left" valign="top">
      <input type="text" value="General" name="RootCategory" size="32"/>
    </td>
  </tr>
  <tr class="portlet-section-body">
    <td align="right" valign="top">
      Root category description:
    </td>
    <td width="35%" align="left" valign="top">
      <input type="text" value="Forums imported from Jive" name="RootCategoryDesc" size="40"/>
    </td>
  </tr>
  <tr class="portlet-section-alternate">
    <td colspan="2" align="left">
      In case of error...<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ClearIfError" value="1" checked>
      clear the database and create default "admin" member (password will be also "admin")<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ClearIfError" value="0">
      do not clear the database and do not create default "admin" member
      <br/>
      We strongly suggest you to leave the previous option on (so you don't end up with
      an invalid forum state).<br/>
      If errors occur, try to correct them before retrying import.
      And for your security, remember to change your password after completition.
    </td>
  </tr>
  <tr class="portlet-section-body">
    <td colspan="2" align="center">
      <select name="MessageLevel" size="1">
        <option value="<%=MVNForumConfig.MESSAGE_LEVEL_ALL_MESSAGES%>" selected>Output all messages during the process
        <option value="<%=MVNForumConfig.MESSAGE_LEVEL_IMPORTANT_MESSAGES%>">Output only errors and important messages
        <option value="<%=MVNForumConfig.MESSAGE_LEVEL_ONLY_ERRORS%>">Output only error messages
      </select>
    </td>
  </tr>
  <tr class="portlet-section-footer">
    <td colspan="2" align="center">
      <input type="button" name="submitbutton" value="Import/Migrate" onclick="javascript:Submit_MigrateForm();" class="portlet-form-button">
      <input type="reset" value="Reset" class="liteoption">
    </td>
  </tr>
</table>
</form>

<br/>
<br/>

<%-- ==================================================================
     ======= BACKUP (export to mvnForum XML, or mvnForum ZIP) =========
     ================================================================== --%>
<a name="exportbackup"/>
<form method="post" action="<%=urlResolver.encodeURL(request, response, "exportprocess" , URLResolver.ACTION_URL)%>" name="backupform">
<%=urlResolver.generateFormAction(request, response, "exportprocess")%>
<table class="tborder" width="98%" cellspacing="1" cellpadding="3" align="center">
  <tr class="portlet-section-header">
    <td>Export/Backup Data</td>
  </tr>
  <tr class="portlet-section-body">
    <td align="left">
      Choose destination file type:<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ExportType" value="<%=MVNForumConfig.IMPORTEXPORT_TYPE_MVN_XML%>" checked>
      XML (export only database info, no attachments, message folders, avatars, ...)<br/>
      &nbsp;&nbsp;&nbsp;<input type="radio" name="ExportType" value="<%=MVNForumConfig.IMPORTEXPORT_TYPE_MVN_ZIP%>">
      ZIP (also export attachments, avatars, message folders)
    </td>
  </tr>
  <tr class="portlet-section-footer">
    <td align="center">
      <input type="button" name="submitbutton" value="Export/Backup" onclick="javascript:Submit_BackupForm();" class="portlet-form-button">
      <input type="reset" value="Reset" class="liteoption">
    </td>
  </tr>
</table>
</form>

<br/>
</fmt:bundle>
<%@ include file="footer.jsp"%>
</body>
</html>

⌨️ 快捷键说明

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