struts2+kindEditor4.1.7
使用方法: 1、复制kindEditor到你web工程的webContent下 2、复制struts需要的jar包和kindEditor必须jar包到lib下,因为它们的jar包邮重复,选择最新的就ok 3、如果需要后台java代码获取内容,可以在action中定义content属性,getContent就可以获取到 需要注意的是,这里的 page选择合适的路径kindEditor/jsp/test.jsp 表单名与Form3需要保持一致, editorId的属性最好是单个,不能形如bean.content,如果是这样的话,上传图片会出现问题 如果是从数据库获取内容,并在kindEditor里选中,在action中定义content属性,setContent(bean.getContent());这种方式 中文乱码不是问题,一般struts2+spring开发项目的时候,使用spring的filter就可以搞定 Set Character Encoding org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 forceEncoding true Set Character Encoding /*
下载地址
用户评论
挺不错的,不过代码还得改进改进
写完整些呀
简单好用,用了
与struts2结合,很好用
真正的好资源,拿来就能用上,谢谢
下载之后就用到了,对我帮助很大