首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

xhEditor文件下传的Java实现

2012-10-29 
xhEditor文件上传的Java实现主要参考了:xhEditor文件上传的Java实现http://easin.iteye.com/blog/692390另

xhEditor文件上传的Java实现
主要参考了:xhEditor文件上传的Java实现http://easin.iteye.com/blog/692390
另外使用了xhEditor的最新版本:xheditor-1.1.9,上传组件包:smart-upload,json包:
xhEditor官方网站:http://xheditor.com/
下载网址:http://code.google.com/p/xheditor/downloads/list
json官方网址:http://json.org/
下载网址:https://github.com/douglascrockford/JSON-java
引用说法:
1 解压xheditor压缩文件 【demo文件夹中可以查看各种形式的配置实例】,将其中的jquery-1.4.2.min.js、xheditor-zh-cn.min.js【这里暂时使用中文版】以及 xheditor_emot、xheditor_plugins和xheditor_skin三个文件夹拷贝到项目的相应目录
2 在相应html文件的head标签结束之前添加:


xheditor.html

UploadFileServlet.java


jspsmart组件上传:
 

热点排行