參考:官方文檔說明 http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Java/Integration
1.下載CKEditor,放到tomcat 下的 webapp下 ,
2.下載需要的jar包 web工程:導入下載的jar包 參照文檔說明 頁面加入
<body>
<form action="sample_posteddata.jsp" method="get">
<p>
<label for="editor1">Editor 1:</label>
<textarea cols="80" id="editor1" name="editor1" rows="10"></textarea>
</p>
<p>
<input type="submit" value="Submit" />
</p>
</form>
<ckeditor:replace replace="editor1" basePath="/ckeditor/" />
</body>
訪問即可