我去下载了个FCKeditor_2.6.6,请问,怎样把它植入到ssh框架中?急!!!!

解决方案 »

  1.   

    放到WEBROOT下,在你的JSP页面里引用JS
      

  2.   

    我去下载的那个FCKeditor_2.6.6里好多的PHP页面和ASP页面,并没有看到JSP页面,这个FCKeditor_2.6.6是不是下载错了?
      

  3.   

    没错,在线编辑器是纯JS的,里面的PHP,和ASP是官方给的与PHP,ASP整合的demo,没给JSP的而已
      

  4.   

    <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的例子的
      

  5.   

    用JS 调用,通用的调用方法,
    根据参考文档 配置web.xml 
      

  6.   

    除了配置xml还要做什么?
      

  7.   

    如果要上传图片的话,服务器端还要配个Servlet
      

  8.   

    那传到数据库该怎么传?
    我的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>
      

  9.   

    取 <textarea name="content" rows="19" cols="97"></textarea>这个的值就行了
      

  10.   

    问下在上面这段代码中<font name="postform" action="<%=contextPath %>/visit/board/a/postrun" method="post">
    是什么意思,做什么用的?
      

  11.   

    下个FCKeditor的使用视频来看看吧~或者搜一下百度也有很多资料了
      

  12.   

    你的fckeditor想显示在什么地方,就把下面这段代码放在哪里。
    <script type="text/javascript">
      var oFCKeditor=new FCKeditor("content");  
      oFCKeditor.BasePath="<%=contextPath %>/fckeditor/";
      oFCKeditor.Height=300;
      oFCKeditor.ToolbarSet="myself";
      oFCKeditor.ReplaceTextarea();
      </script>
      

  13.   

    另外有高手知道怎样用fckeditor上传图片吗?