官网下载以及演示:http://ckeditor.com/
引入js
<script src="/Example6/ckeditor/ckeditor.js"></script>
<h2>输入文本</h2>
<form action="/Example6/f" method="post">
<textarea cols="80" id="editor1" name="editor1" rows="10">
请输入...
</textarea>
<script>
CKEDITOR.replace( 'editor1' );
</script>
<p><input type="submit" value="提交"></p>
</form>
引入成功后可通过 String str=req.getParameter("editor1");
获取提交后的数据。
下载full版,工具齐全->
->