Ckeditor整合Ckfinder时,报了Http404错!
HTTP Status 404 - /ckfinder/core/connector/java/connector.java
type Status report
message /ckfinder/core/connector/java/connector.java
description The requested resource (/ckfinder/core/connector/java/connector.java) is not available.
Apache Tomcat/6.0.18
各位大侠,/ckfinder/core/connector/java/connector.java是不是要自己写呢,还是我项目中缺少了哪个包?
[解决办法]
connector.java 这个了类不可用!
[解决办法]
问题已经解决了,是出在调用文本编辑器的jsp页面里
<textarea id="editor1" name="editor1" rows="10" cols="80"></textarea>
<script type="text/javascript">
if ( typeof CKEDITOR == 'undefined' )
{
document.write( '<strong><span style="color: #ff0000">Error</span>: CKEditor not found</strong>.' + 'This sample assumes that CKEditor (not included with CKFinder) is installed in' + 'the "/ckeditor/" path. If you have it installed in a different place, just edit' + 'this file, changing the wrong paths in the <head> (line 5) and the "BasePath"' + 'value (line 32).' ) ;
}
else
{
var editor = CKEDITOR.replace( 'editor1' );
CKFinder.setupCKEditor( editor, 'ckfinder/' ) ;
}
CKEDITOR.replace( 'editor1',
{
skin : 'kama',
language : 'zh-cn'
});
</script>
红色部分注意,在ckfinder前不能有“/”