connector.userFilesPath=UploadFileconnector.userActiOnImpl=net.fckeditor.requestcycle.impl.UserActionImpl
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%><%@ taglib uri="http://java.fckeditor.net" prefix="fck" %><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> 文章标题 文章正文:
<%@ page language="java" import="java.util.*" cOntentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%><% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String cOntent=request.getParameter("edt1"); if (content != null) { cOntent= content.replaceAll("\r\n", ""); cOntent= content.replaceAll("\r", ""); cOntent= content.replaceAll("\n", ""); cOntent= content.replaceAll("\"", "'"); }else{ cOntent= ""; } cOntent= new String(content.getBytes("iso8859-1"),"utf-8");%> <%=content%>