在JSP中怎样配置FCKEditor的上传图片传到FTP服务器上?

解决方案 »

  1.   

    头部
    <%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>
    样式
    <link href="../sample.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="../fckeditor.gif" type="image/x-icon" />编辑器<FCK:editor instanceName="名称" toolbarSet="Basic4" width="98%" height="360px">
    <jsp:attribute name="value">
    ${值} </jsp:attribute>
    </FCK:editor>
      

  2.   

    如果上传到ftp上,那就要改一下fck包里的那个upload方法里了然后在编译成class文件在打包。把那个方法里的路径改成ftp路径。我只改过上传文件的名字路径没改过。