ckeditor+ckfinder+java integration
<html dir="ltr" lang="zh-cn">
<head><title></title></head>
<body style="margin: 0; overflow: hidden; background: transparent;">
<form enctype="multipart/form-data" method="POST" dir="ltr" lang="zh-cn" action="/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Images&CKEditor=content&CKEditorFuncNum=2&langCode=zh-cn">
<input type="file" name="upload" size="38" />
</form>
</body>
</html>
<script>
window.parent.CKEDITOR.tools.callFunction(205);
window.onbeforeunload = function() {
window.parent.CKEDITOR.tools.callFunction(206)
}</script>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>留言板</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<script type="text/javascript" src="<%=basePath%>ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="<%=basePath%>ckfinder/ckfinder.js"></script>
<body>
<div style="width: 920px;">
<form action="firstDemoAction.action" method="post">
<textarea cols="80" id="content" name="fileUpload">
</textarea>
</form>
</div>
<script type="text/javascript">
CKEDITOR.replace('content',{
filebrowserImageBrowseUrl:'/ckfinder/ckfinder.html?type=Images',
filebrowserImageUploadUrl:'/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Images',
}); //content为textarea的id
</script>
</body>
</html>
Re: ckeditor+ckfinder+java integration
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: ckeditor+ckfinder+java integration
How do we get 3.6.4 ckeditor and the 2.2.2.1 CKFinder for JAVA?
Any help much appreciated.
Regards,
Will