ckeditor
①ckeditor文件夹解压后放到webapp文件夹下
②在<script>对标签中引入——<script type=text/javascript src="/ckeditor/ckeditor.js"></script>
③在想引用编辑器的textarea,id和class缺一不可,class="ckeditor"
commons upload
①添加两个jar包——commons-fileupload.jar和commons-io.jar
②form表单enctype="multipart/form-data"
③指定上传位置
String uploadFilePath = request.getSession().getServletContext().getRealPath("/upload/");