---
title: "Struts2 整合 fckeditor 例子"
author: "kjj"
date: "2010-07-05T21:35:31Z"
tags: []
categories: ["企业架构"]
slug: "struts2-fckeditor"
draft: false
lastmod: "2010-07-05T21:35:31Z"
id: 706170
url: "https://docs.iteye.com/blog/706170"
---

最近一个项目可能要用到struts2 和fckeditor  ，众所周知的拦截冲突问题来了，照例，先Google之，最后发现神仙啊，大量的文章不外乎两类，1 修改struts2拦截器 url 从/*改到/*.action什么的 2 ,自己修改struts2 的filter，绕过对 fckeditor 拦截，总觉得两种方式都不满意，记得以前用dwr时也存在这个问题，后来发现了一个简单的办法
只要在strust.properties文件中添加如下配置即可

```java

struts.action.excludePattern=/dwr/.*,/dwr/test/.*,/fckeditor/editor/filemanager/connectors/.*

```