MOYUN(/Java/SQL/Linux/DevOps/运维/架构/管理/敏捷/开发)

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2014年2月11日

摘要: 使用easyui的时候,夏季老师给了一个使用kindeditor的扩展JS插件,把代码贴上去之后就可以实现kindeditor的大部分功能了:链接地址 http://www.jeasyuicn.com/extended-easyui-based-on-kindeditor.html 但是,这里发现文件上传老是报错,经过分析,JS插件没有指定上传Action路径,于是呢:(function ($, K) { if (!K) throw "KindEditor未定义!"; function create(target) { var opts ... 阅读全文
posted @ 2014-02-11 15:59 moyun- 阅读(731) 评论(0) 推荐(0) 编辑

摘要: //js获取项目根路径,如: http://localhost:8083/uimcardprjfunction getRootPath(){ //获取当前网址,如: http://localhost:8083/uimcardprj/share/meun.jsp var curWwwPath=window.document.location.href; //获取主机地址之后的目录,如: uimcardprj/share/meun.jsp var pathName=window.document.location.pathname; var pos=c... 阅读全文
posted @ 2014-02-11 15:40 moyun- 阅读(197) 评论(0) 推荐(0) 编辑

摘要: 在使用struts2的项目中上传文件的时候出现了一个这样的错误:2011-7-30 20:29:02 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info信息: Unable to find 'struts.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir2011-7-30 20:29:02 com.opensymphony.xwork2.util.logging.commons.Commons 阅读全文
posted @ 2014-02-11 14:30 moyun- 阅读(286) 评论(0) 推荐(0) 编辑