struts2在线编辑器??!! 我去下载了个FCKeditor_2.6.6,请问,怎样把它植入到ssh框架中?急!!!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 放到WEBROOT下,在你的JSP页面里引用JS 我去下载的那个FCKeditor_2.6.6里好多的PHP页面和ASP页面,并没有看到JSP页面,这个FCKeditor_2.6.6是不是下载错了? 没错,在线编辑器是纯JS的,里面的PHP,和ASP是官方给的与PHP,ASP整合的demo,没给JSP的而已 <FCK:editor instanceName="htmlsource" height="700px" basePath="/fckeditor"> <jsp:attribute name="value"> ${pageSource.pageSource } </jsp:attribute> <jsp:body> <FCK:config SkinPath="skins/office2003/" /> </jsp:body> </FCK:editor>用这一套就行了,我记得里面是有java的例子的 用JS 调用,通用的调用方法,根据参考文档 配置web.xml 除了配置xml还要做什么? 如果要上传图片的话,服务器端还要配个Servlet 那传到数据库该怎么传?我的jsp页面是这样的 <font name="postform" action="<%=contextPath %>/visit/board/a/postrun" method="post"> <textarea name="content" rows="19" cols="97"></textarea> <script type="text/javascript"> var oFCKeditor=new FCKeditor("content"); oFCKeditor.BasePath="<%=contextPath %>/fckeditor/"; oFCKeditor.Height=300; oFCKeditor.ToolbarSet="myself"; oFCKeditor.ReplaceTextarea(); </script> </font> 取 <textarea name="content" rows="19" cols="97"></textarea>这个的值就行了 问下在上面这段代码中<font name="postform" action="<%=contextPath %>/visit/board/a/postrun" method="post">是什么意思,做什么用的? 下个FCKeditor的使用视频来看看吧~或者搜一下百度也有很多资料了 你的fckeditor想显示在什么地方,就把下面这段代码放在哪里。<script type="text/javascript"> var oFCKeditor=new FCKeditor("content"); oFCKeditor.BasePath="<%=contextPath %>/fckeditor/"; oFCKeditor.Height=300; oFCKeditor.ToolbarSet="myself"; oFCKeditor.ReplaceTextarea(); </script> 另外有高手知道怎样用fckeditor上传图片吗? 启动,未初始化小程序 问个小白问题 基于java的趋势组件的研究 java有什么办法调用第三方软件的数据? 超级菜的问题 关于使用JTAPI实现modem拔号例子提问 applet程序加载失败,求助!~~ 谁有《Java2核心技术》的chm格式的电子书? 在线考试系统!!!! 请问有哪些比较好看的LookAndFeel下载啊?最好把下载网址也贴一贴!!3X applet中panel被其他panel覆盖的问题 【新手求助】gui插件安装问题
<jsp:attribute name="value">
${pageSource.pageSource }
</jsp:attribute>
<jsp:body>
<FCK:config SkinPath="skins/office2003/" />
</jsp:body>
</FCK:editor>
用这一套就行了,我记得里面是有java的例子的
根据参考文档 配置web.xml
我的jsp页面是这样的
<font name="postform" action="<%=contextPath %>/visit/board/a/postrun" method="post">
<textarea name="content" rows="19" cols="97"></textarea>
<script type="text/javascript">
var oFCKeditor=new FCKeditor("content");
oFCKeditor.BasePath="<%=contextPath %>/fckeditor/";
oFCKeditor.Height=300;
oFCKeditor.ToolbarSet="myself";
oFCKeditor.ReplaceTextarea();
</script>
</font>
是什么意思,做什么用的?
<script type="text/javascript">
var oFCKeditor=new FCKeditor("content");
oFCKeditor.BasePath="<%=contextPath %>/fckeditor/";
oFCKeditor.Height=300;
oFCKeditor.ToolbarSet="myself";
oFCKeditor.ReplaceTextarea();
</script>