知启蒙大文件上传组件,该组件实现大文件分片上传,包含服务端接收碎片上传和管理功能,以及前端UI的进度条、上传速度等界面。同时还支持按文件内容MD5码、相同文件名称比对秒传等功能,是业务系统应用不可缺少的组件之一。

森中灵 最后提交于1月前 8.0.5版本,删除encoding和cache字段,大部分没用上,整理访问类
config.xml2KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zhiqim-context PUBLIC "-//ZHIQIM //DTD Zhiqim-Context Configuration 8.0.0//EN" "https://zhiqim.org/xmldtds/zhiqim_context_8_0_0.dtd">
<zhiqim-context>

    <!-- 组件配置 -->
    <component name="管理台" path="/org/zhiqim/manager/resource"/>

    <!-- 属性配置 -->
    <attribute name="系统名称" key="name" value="知启蒙大文件上传"/>
    <attribute name="系统版本" key="version" value="V8.0.5"/>
    <attribute name="系统引导" key="bootstrap" value="org.zhiqim.uploadlarge.ZulBootstrap"/>
    
    <!-- 文件管理 -->
    <action name="文件列表" interceptor="chkZmrLogin" path="/zhiqim_upload_large/fileList.htm" view="/ztmpl/zhiqim_manager/main.htm" include="/zview/zhiqim_upload_large/fileList.zml" class="org.zhiqim.uploadlarge.action.FileListAction"/>
    <action name="文件上传页面" interceptor="chkZmrLogin" path="/zhiqim_upload_large/fileUpload.htm" view="/ztmpl/zhiqim_manager/main.htm" include="/zview/zhiqim_upload_large/fileUpload.zml"/>
    <action name="修改文件页面" interceptor="chkZmrLogin" path="/zhiqim_upload_large/fileModify.htm" view="/ztmpl/zhiqim_manager/main.htm" include="/zview/zhiqim_upload_large/fileModify.zml" class="org.zhiqim.uploadlarge.action.FileModifyAction"/>
    <action name="修改文件处理" interceptor="chkZmrLogin" path="/zhiqim_upload_large/fileUpdate.htm" redirect="/zhiqim_upload_large/fileList.htm" success="修改成功" class="org.zhiqim.uploadlarge.action.FileUpdateAction"/>
    <action name="删除文件处理" interceptor="chkZmrLogin" path="/zhiqim_upload_large/fileDelete.htm" redirect="/zhiqim_upload_large/fileList.htm" success="删除成功" class="org.zhiqim.uploadlarge.action.FileDeleteAction"/>
    
    <!-- 文件碎片管理 -->
    <action name="文件碎片列表" interceptor="chkZmrLogin" path="/zhiqim_upload_large/fileChunkList.htm"  view="/ztmpl/zhiqim_manager/main.htm" include="/zview/zhiqim_upload_large/fileChunkList.zml" class="org.zhiqim.uploadlarge.action.FileChunkListAction"/>
    <action name="删除文件碎片" interceptor="chkZmrLogin" path="/zhiqim_upload_large/fileChunkDelete.htm" redirect="/zhiqim_upload_large/fileChunkList.htm" success="删除成功" class="org.zhiqim.uploadlarge.action.FileChunkDeleteAction"/>

</zhiqim-context>