ckfinder
可以新建目录上传等等,自定义配置,
单独下载ckfinder的包POM不知道为什么下载不了.pom.xml配置弹簧的各种包
web.xml文件中添加
<servlet>
<servlet-name>CKFinderConnectorServlet</servlet-name>
<servlet-class>com.redis.util.CKFinderConnectorServlet</servlet-class>
<init-param>
<param-name>XMLConfig</param-name>
<param-value>/WEB-INF/ckfinder.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>configuration</param-name>
<param-value>com.redis.util.CKFinderConfig</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mAPPing>
<servlet-name>CKFinderConnectorServlet</servlet-name>
<url-pattern>/ckfinder/core/connector/java/connector.java</url-pattern>
</servlet-mapping>
<filter>
<filter-name>FileUploadFilter</filter-name>
<filter-class>com.ckfinder.connector.FileUploadFilter</filter-class>
<init-param>
<param-name>sessionCookieName</param-name>
<param-value>JSESSIONID</param-value>
</init-param>
<init-param>
<param-name>sessionparameterName</param-name>
<param-value>jsessionid</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>FileUploadFilter</filter-name>
<url-pattern>/ckfinder/core/connector/java/connector.java</url-pattern>
</filter-mapping>
<!-- Userfiles download -->
<servlet>
<servlet-name>UserfilesDownloadServlet</servlet-name>
<servlet-class>com.redis.util.UserfilesDownloadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UserfilesDownloadServlet</servlet-name>
<url-pattern>/userfiles/*</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>CKFinderConnectorServlet</servlet-name>
<servlet-class>com.redis.util.CKFinderConnectorServlet</servlet-class>
<init-param>
<param-name>XMLConfig</param-name>
<param-value>/WEB-INF/ckfinder.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>configuration</param-name>
<param-value>com.redis.util.CKFinderConfig</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CKFinderConnectorServlet</servlet-name>
<url-pattern>/ckfinder/core/connector/java/connector.java</url-pattern>
</servlet-mapping>
<filter>
<filter-name>FileUploadFilter</filter-name>
<filter-class>com.ckfinder.connector.FileUploadFilter</filter-class>
<init-param>
<param-name>sessionCookieName</param-name>
<param-value>JSESSIONID</param-value>
</init-param>
<init-param>
<param-name>sessionParameterName</param-name>
<param-value>jsessionid</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>FileUploadFilter</filter-name>
<url-pattern>/ckfinder/core/connector/java/connector.java</url-pattern>
</filter-mapping>
<!-- Userfiles download -->
<servlet>
<servlet-name>UserfilesDownloadServlet</servlet-name>
<servlet-class>com.redis.util.UserfilesDownloadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UserfilesDownloadServlet</servlet-name>
<url-pattern>/userfiles/*</url-pattern>
</servlet-mapping>
srpingboot弄了一天也已经完全配置成功ckfinder,代码在实际项目中有时间再单独移植出来
太多了直接下载查看源码复制粘贴只用
1.下载项目 运行 http://localhost:8080/ssm-ueditor/ckfinder/ckfinder.html
上传文件在C盘
https://download.csdn.net/download/m0_37946870/10516301
文章最后发布于: 2018-07-03 14:34:18
相关阅读
如何使用淘宝助理上传数据包?很多开网店的朋友们对于如何使用淘宝助理上传数据包不是很熟悉。今天我们就来说说淘宝助理上传数据
最近要做一个组件,即接收客户端的请求,经过一系列的封装,将请求发送给真正的服务端器。可以理解为:客户端使用Http的Request的Body存
现在越来越多人都越来越喜欢网购,马爸爸的淘宝可以说是网购平台中的权威代表了。网购的便利之处在于不用出门送货到家,不喜欢不合适
淘宝退货上传凭证是什么意思?意思就是需要上传此次退款退货中对买家自身有利的凭证。凭证一般是以下三种。1,聊天记录(可以截图)也
互动视频,在视频中插入营销互动组件,买家在观看视频时,可以点击组件,直接得到优惠券、红包、点击购买宝贝等,但是很多卖家朋友不知道怎