现在用到了CKEditor3.6.3在线编辑器,同时整合了CKfinder,出现如下问题:
1、输入中文乱码,jsp代码如下:<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ include file="../commons/include.jsp" %>
<%@ taglib uri="http://ckeditor.com" prefix="ckeditor"%>
<%@ taglib uri="http://ckfinder.com" prefix="ckfinder"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="${context_path}/ckeditor/ckeditor.js" charset="UTF-8"></script>
<script type="text/javascript" src="${context_path}/ckfinder/ckfinder.js" charset="UTF-8"></script>
<!--  <script type="text/javascript" src="ckeditor/ckeditor.js"  charset="utf-8"></script> 
 -->
</head>
<body>
<s:form action="manage_editPro" namespace="/program" method="post">
<s:push value="proInfo">
<s:hidden name="programNo" value="%{programNo}"></s:hidden>
<s:hidden name="programId" value="%{programId}"></s:hidden>
<!-- <form action="servlet/Editor" method="post"> -->
<s:textarea cols="80" id="editor1" name="detail" rows="10" value="%{programTextArea}">
</s:textarea>
<s:submit value="确定" /> 
</s:push>
</s:form>
<ckfinder:setupCKEditor basePath="/BusinessPlatform/ckfinder/" editor="editor1" />
<ckeditor:replace replace="editor1" basePath="/BusinessPlatform/ckeditor/" />
</body>
</html>
2、上传图片、flash保存后生成html文件,点击html文件,图片和flash都无法显示
求助啊,第一次用CKEditor,希望高人指点