springMVC整合ueditor

springMVC整合ueditor插件后端配置需要怎么配置?怎么按照博客教程配置出来都不对?

http://fex.baidu.com/ueditor/

参考。

这个我我刚用,我用的是最新的jsp-utf8版,下载解压后,放到web——root下(最好自己建个文件夹)图片说明,把那个jsp的jar全部移到你的lib下(注意下jar问题),图片说明,我是这样引入的,还另外一种,


<br><br> var ue = UE.getEditor( &#39;container&#39;, {</p> <pre><code> autoHeightEnabled: true, autoFloatEnabled: true, initialFrameWidth: 650, initialFrameHeight:400 }); &lt;/script&gt; &lt;!-- Textarea --&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot;&gt; &lt;textarea id=&quot;container&quot; class=&quot;message&quot; onkeyup=&quot;storeCaret(this);&quot; onclick=&quot;storeCaret(this);&quot; onselect=&quot;storeCaret(this);&quot; tabindex=&quot;3&quot; name=&quot;message&quot; rows=&quot;15&quot; cols=&quot;35&quot;&gt;&lt;#if post?exists&gt;&lt;#if quote?exists&gt;[quote=${quoteUser}]${post.text?html}[/quote]&lt;#else&gt;${post.text?html}&lt;/#if&gt;&lt;/#if&gt;&lt;/textarea&gt; &lt;/td&gt; </code></pre>

这个方式只是引入编辑文本框,图片上传功能用不了,现在已解决