CKeditor在Struts2中上载

CKeditor在Struts2中上载,struts2,ckeditor,Struts2,Ckeditor,我在struts.xml中指定了编辑器的所有选项: <constant name="struts.ckeditor.allowUploads" value="true" /> <!-- default is false --> <constant name="struts.ckeditor.allowedFileExtensions" value="jpg,jpeg,png,gif" /> <constant name="struts.ckeditor.

我在struts.xml中指定了编辑器的所有选项:

<constant name="struts.ckeditor.allowUploads" value="true" /> <!-- default is false -->
<constant name="struts.ckeditor.allowedFileExtensions" value="jpg,jpeg,png,gif" />
<constant name="struts.ckeditor.uploadFolder" value="/userfiles/images/" />

并添加了属性“uploads=“true”

但是服务器没有出现,就像它的官方页面上的示例一样,只有“发送到服务器”按钮保持不变

如果我在配置文件中将其指定为“/userfiles/images/”,那么为什么输入中的默认上载文件夹仍然是“uploads/”

我遗漏了什么?

但它采用了默认值“/uploads”;调试它是否使用配置的值。但它采用默认值“/上传”;调试它是否使用配置的值。