求助:eWebEditor在线编辑器的问题 最近在做一个新闻发布系统,采用的在线编辑器是eWebEditor,好不容易做完,却发现每增加一条新闻数据库中都会添加一条相同的重复新闻,苦苦思索都不得解啊,哪位用过eWebEditor的大哥帮忙解答一下啊! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 那你要看你自己的代码是否有问题了.eWebEditor本身就像一个普通的文本筐.如果数据库出现重复数据,你应该跟踪你向数据库写入数据的那段代码.用法:<textarea style="display:none" name="content1"><%=sContent%></textarea> <iframe id="eWebEditor1" src="../eWebEditor.jsp?id=content1&style=standard" frameborder="0" scrolling="no" width="650" height="350"></iframe>取数据:String sContent = new String(request.getParameter("content1").getBytes("iso8859_1")); 我的调用代码:<textarea name="content" class="chinese" style="display:none"></textarea> <iframe ID="newseditor" src="../../eWebEditor.jsp?id=content&style=CoolBlue" frameborder="0" scrolling="no" width="100%" height="350"></iframe>提交到bean中我使用 property="*"来对应的,应该也没问题啊 那就跟踪检查你往数据库写入的代码吧,耐心点调试吧.eWebEditor没有问题的. 这个问题刚才莫名其妙解决了,但又出来一个新问题,现在不能上传图片什么的了,一点那个‘上传’就弹出javascript错误提示:d_file.myform.uploadfile为空或不是对象http://localhost:8080/chaterhouse2/dialog/media.htm这又怎么啦? 把dialog文件夹下的js重新拷贝一下. 大哥,我要哭了啊,刚才花大力气把eWebEditor相关的文件统统删除,然后重新加入一个新的eWebEditor,图片倒是可以上传了,写入数据库的数据又是双份的了,我这电脑不会闹鬼了吧? DAO层基础于hibernate执行sql语句问题,急~~~~~~~~~~~ 关于struts2+freemarker跳转action样式加不上的问题求解决,谢谢! 有没有和hibernateDaoSupport功能一样的接口啊? 求助 小问题!大麻烦! jsp加载applet出现问题时,如何获取错误信息? 问大家一个问题.关于JSP生成WORD的 JSP實現水晶報表的問題 JSP页面间数据传输 JavaBeans中的事件模型 <bean:write>怎么输出中文 急!!!奇怪的记录显示--重复显示一条记录?
用法:<textarea style="display:none" name="content1"><%=sContent%></textarea>
<iframe id="eWebEditor1" src="../eWebEditor.jsp?id=content1&style=standard" frameborder="0" scrolling="no" width="650" height="350"></iframe>
取数据:
String sContent = new String(request.getParameter("content1").getBytes("iso8859_1"));
<textarea name="content" class="chinese" style="display:none"></textarea>
<iframe ID="newseditor" src="../../eWebEditor.jsp?id=content&style=CoolBlue" frameborder="0" scrolling="no" width="100%" height="350"></iframe>提交到bean中我使用 property="*"来对应的,应该也没问题啊
eWebEditor没有问题的.
d_file.myform.uploadfile为空或不是对象
http://localhost:8080/chaterhouse2/dialog/media.htm
这又怎么啦?