我在一个jsp页面应用我的fckediotr,引用方式如下,每次访问该页面,总是显示不出,提示FCKeditor未定义,请问是怎么回事?
<head>
<script type="text/javascript" src="/fckeditor/fckeditor.js/" ></script>
  </head>
  
  <body>
    This is my JSP page. 

 <script type="text/javascript">   
var oFCKeditor = new FCKeditor('fckeditor');
oFCKeditor.BasePath = "/hotelSystem/fckeditor/";
oFCKeditor.ToolbarSet = "mybbs";
oFCKeditor.Create();
</script>  
  </body>

解决方案 »

  1.   

    好久以前自己写的文章,也许对你有用吧!
    http://home.jysq.net/space-14906-do-blog-id-13226.html
      

  2.   

    谢谢,不理解的是:
        我在一个html文件里面写了通用的调用方式,它完全可以加载,这个html文件和这个jsp文件有所不同的就是:他们存放的路径不一样 html文件时直接放在webRoot下的
     jsp文件时放在webRoot下的一个子文件夹下的,问什么就加载不到呢,
     请问能再提供点意见吗?
      

  3.   

    <#include  到你的正确路径就好了