![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Struts
馨新欣心1
这个作者很懒,什么都没留下…
展开
-
基于注解的Struts2 的 @action跳转
1.最基本的@action注解 @Controller @Scope(value = "prototype") @ParentPackage(value = "nocheckLogin") @Namespace("/home/hellovelocity") 此注解位于class之前, @Action(value="toHome",results={@Result(n原创 2015-12-17 16:55:35 · 684 阅读 · 0 评论 -
关于Struts2+spring+maven中使用百度UEditor编辑器显示未找到上传数据的解决方案
首先上个图,看看你的是不是这个问题:如果是请继续往下看,不要急,急了就会浪费更多的时间,这是我在解决这个为题中学到的。 解决思路是,重写struts2中的一个转换的类,然后配置struts2使用我们重写的这个类。 我在网上找了一段代码 即增加创建一个过滤器,用来过滤ueditor的上传请求: 红色部分是重点 import java.io.IOException; import原创 2016-05-15 08:42:03 · 4578 阅读 · 0 评论