0

2

回答

396 浏览

关于tomact 找不到对应的action问题~~[已解决]30

现在有一个工程.. <package name="crud-default" extends="convention-default"> 采用的是Convention插件 然后在登录用的java是这个 @SuppressWarnings("unchecked") @Namespace("/security/oalogi ...

2014年11月05日 22:52
0

0

回答

173 浏览

各位达人,请教有关convention+rest问题[已解决]5

各位好,我有一个问题想请教下,前台用xml post请求,调用rest插件,map 到create()方法,如果我需要把这个xml请求反序列化成一个对象,测试发现请求url需要带.xml后缀 如 http://localhost:8080/test/message.xml,这样才能让struts 自动把这个xml post请求转成对象,但是,post 请求http://localhost:8080/ ...

2012年12月26日 15:20
0

0

回答

421 浏览

关于struts convention+rest ,请求为xml或者json ,返回xml或者json [已解决]30

求教,我现在做一个项目,用到convention+rest ,请求为参数封装为xml,json。post请求,如果是xml,请求url需要后缀有xml,如http://localhost:8080/test/message.xml,如果post请求的数据为json,请求的url需要为http://localhost:8080/test/message.json。 并且post请求调用create() ...

2012年12月19日 10:16
0

1

回答

224 浏览

使用struts2-convention-plugin 的路径引用[已解决]0

使用struts2-convention-plugin零配置,定义资源文件目录 <constant name="struts.convention.result.path" value="/WEB-INF/template/" /> 在jsp页中<jsp:include page="common/top.html"/&g ...

2012年11月29日 11:10
0

1

回答

299 浏览

Struts2 的 Convention插件[已解决]5

我想使用 Struts2 的 Convention插件, 来配置我的项目, 我在struts.xml 中加了这一句, <constant name="struts.convention.result.path" value="/WEB-INF/jsp" /> <package name="login" extends= ...

2012年8月21日 15:25
0

0

回答

434 浏览

struts2+ rest的时候 用注解回调状态为303[已解决]10

//Action 类使用了 @Results 进行修饰,当 Action 的任何方法返回“success”逻辑视图时,系统将重定向到book.action @Results(@Result(name = "success", type = "redirectAction", params = { "actionName", " ...

2012年6月05日 16:28

本周活跃投票用户

最新评论

Global site tag (gtag.js) - Google Analytics