net.fckeditor.connector.Dispatcher类的
方法UploadResponse doPost(final HttpServletRequest request) {
logger.debug("Entering Dispatcher#doPost");
添加加水印的操作便可
if ("image".equals(type.getName().toLowerCase())) {
String tempName = fileName;
if (newName != null) {
tempName = newName;
}
String targetPath = PropertiesUtils.getCmsProperty("path");
ImageUtils.pressImage(targetPath
+ PropertiesUtils.getCmsProperty("waterMarker"),
targetPath
+ PropertiesUtils
.getCmsProperty("upload_file_path")
+ tempName, Integer
.parseInt(PropertiesUtils
.getCmsProperty("warterMarkerX")),
Integer.parseInt(PropertiesUtils
.getCmsProperty("warterMarkerY")));
}
分享到:
相关推荐
FCKeditor_2.6.5.zip,fckeditor-java-demo-2.5.war
fckeditor2.5资源关于fckeditor-java-demo-2.5.war下载
fckeditor-java-2.5-bin.zip ,在线文本编辑器与服务器交互
fckeditor-java-2.5-bin.tar.gz
fckeditor-java-2.5-src.zip编辑器(源码+DEMO) fckeditor-java-2.5-src.zip编辑器(源码+DEMO) fckeditor-java-2.5-src.zip编辑器(源码+DEMO) fckeditor-java-2.5-src.zip编辑器(源码+DEMO) fckeditor-java-...
FCKeditor_2.6.6.zip+fckeditor-java-2.4.1.rar+fckeditor-java-2.4.1-bin.zip+fckeditor-java-2.4-src.zip+fckeditor-java-demo-2.4.war.zip 分享几个包,让你学习有成。加油
绝对好用的富文本编辑框 fckeditor 现在已经可以兼容java了 以后会兼容sturts 希望大家多多支持,多多研究 绝对能用 里面的JAR包 slf4j-api-1.5.2.jar slf4j-simple-1.5.2.jar fckeditor-java-core-2.4.jar ...
fckeditor-java-2.4.1-bin和 fckeditor-java-2.4.1-src配套使用
fckeditor-java-demo-2.4.1.war
FCKeditor的相关资源fckeditor-java-2.6-bin,fckeditor-java-2.6-src,fckeditor-2.6.6
包含sqljdbc、sqljdbc4、fckeditor-java-core-2.4、jtds-1.2.1、mysql-connector-java-5.0.8-bin-g、servlet-api、jstl-1.2的jar包
fckeditor-java-2.6-src 源文件 示例 使用详解
内附FCKEditor源代码,及其应用于Java Web程序相关包,并包含使用示例
fckeditor-java-2.4.1修改支持jdk1.4 下载了一个2.4.1版本,但不能部署在fdk1.4版本,修改源码后可支持
这个是JAVA用的fckeditor,用过的人都知道这个功能很强大
FCKeditor.java-2.3.2 + FCKeditor_2.5.1 + 中文API 黄金搭档! 最近做项目需要jsp里使用编辑器,在网上搜资料 几乎前篇一律, 版本太多,一晚上没睡 调试通了!有兴趣的可以研究下!
这个是Fckeditor的java包,针对connectorServlet.java进行过修改其上传功能,
这个是java开发的fckeditor的demo,还不错