如题:
<li><a href="${ctx}/budget/budget-g.action" target="rightFrame">
这是前台导航页面的链接
@Namespace("/budget")
//定义名为reload的result重定向到log.action, 其他result则按照convention默认.
@Results( { @Result(name = BaseAction.RELOAD, location = "/budget/budget-g.action", type = "redirect") })
public class BudgetGAction extends BaseAction<BudgetG> {
private static final long serialVersionUID = 1L;
@Autowired
private IBudgetGService budgetGService;
这是后台的action的配置,其他的都是zeroconfig的默认配置
就是在点击<a href="${ctx}/budget/budget-g.action" target="rightFrame">这个链接的时候,页面没有任何的响应,搞了一个下午,也不知道为什么,改名称也不行。
@Namespace("/exampapers")
@Results( {
@Result(name = "defaultOk", location = "/sysError/defaultOk.jsp"),
@Result(name = "defaultError", location = "/sysError/defaultError.jsp"),
@Result(name = "login", type = "redirect", location = "/user/login.action") })
这是我的配置,里面budget-g.action对应的是@Results里面的name属性
页面都没指定,你想怎么反应啊?学楼上配置