Step One: Download kindeditor code and style
Website: http://kindeditor.net/demo.php
Step Two: Once downloaded, extract, and then locate the file in jsp kindeditor folder, then you click on the jsp file
The third step: Copy the file lib jsp files in the jar to the next three WEB-INFZ eclipse in the lib directory
The fourth step: to build a file in webcontact (If this file is called a), to build a file (if this file is called b) in a file
Step five: Copy kindeditor in the jsp in file_manager_json.jsp and upload_json.jsp, copied to the directory b
Sixth step: in KindEditor jsp will demo.jsp . 1 uploadJson: '../jsp/upload_json.jsp', 2 fileManagerJson: '../jsp/file_manager_json.jsp', copied to the following figure:
Step Seven: The just pasted that two sections of the code, change the relative path
1 <script> 2 var editor; 3 KindEditor.ready(function(K) { 4 editor = K.create('textarea[name="content"]', { 5 allowFileManager : true 6 uploadJson : 'a/b/upload_json.jsp', 7 fileManagerJson : 'a/b/file_manager_json.jsp', 8 }); 9 10 }); 11 </script>
Step eight: to build a attached file folder in the webcontact