丰丰的博客
我想成功,在老之前!
<td class="propname">发布内容:</td><td class="propvalue" colspan="6"> <div id="myEditor" type="text/plain" name='content' style="width: 900px;height:400px;"/></td>
//利用content转换为二进制,存入richcontentString strRich = newsBean.getContent();if(strRich.length()>0) { byte[] temp = strRich.getBytes(); newsBean.setRichContent(temp); newsBean.setContent("");}
if(casNewsModel.getRichContent().length>0) { content = new String(casNewsModel.getRichContent()); casNewsModel.setContent(content);}
posted on 2018-01-22 20:34 半导体 阅读(202) 评论(0) 编辑 收藏
Powered by: BlogJava Copyright © 半导体