我在input.html中输入以下代码:  请输入内容<br>
    <script src="/fckeditordemo/fckeditor/fckeditor.js"></script>       
    <form name="form3" id="from3" method="post" action="/fckeditordemo/servlet/addcontent">
      <input type="text" name="title">   
      <script>
        var editor=new FCKeditor('editor1');
        editor.BasePath='/fckeditordemo/fckeditor';
        editor.Height=200;
        editor.ToolbarSet='Base';
        editor.Create();
      </script>
     <!-- <input type="submit" name="aaa">  --> 
    </form>   将fckeditor2.5.1解压后的文件夹fckeditor拷贝至fckeditordemo\webroot\
其它的什么也没有修改!
执行时显示的画面如下:

HTTP Status 404 - /fckeditordemo/fckeditoreditor/fckeditor.html
type Status report
message /fckeditordemo/fckeditoreditor/fckeditor.html
description The requested resource (/fckeditordemo/fckeditoreditor/fckeditor.html) is not available.

是这个fckeditor包的问题吗?

解决方案 »

  1.   

    建议上网搜一下fck如何使用的,一大堆
      

  2.   

    查看配置是否正确、字符编码格式是否正确、还有就是路径建议使用FCK2.6
      

  3.   

      <script src="/fckeditordemo/fckeditor/fckeditor.js"></script>   
      <form name="form3" id="from3" method="post" action="/fckeditordemo/servlet/addcontent">
      <input type="text" name="title">   
      <script>
      var editor=new FCKeditor('editor1');
      editor.BasePath='/fckeditordemo/fckeditor';
      editor.Height=200;
      editor.ToolbarSet='Base';
      editor.Create();
      </script>
      <!-- <input type="submit" name="aaa"> -->  
      </form>   将fckeditor2.5.1解压后的文件夹fckeditor拷贝至fckeditordemo\webroot\
    其它的什么也没有修改!
    执行时显示的画面如下:
    HTTP Status 404 - /www.cctv40.cnfckeditordemo/fckeditoreditor/fckeditor.html
    type Status report
    message /fckeditordemo/fckeditoreditor/fckeditor.html
    description The requested resource (/fckeditordemo/fckeditoreditor/fckeditor.html) is not available.好像是吧