@Namespace("/app/user")
@Scope("request")
@Controller("t_app_userAction")
public class T_app_userAction extends BaseAction{
@Action(value = "register", results = { @Result(name = "success",type="redirectAction",location = "manager/sys/user/loginTest")})
public String registerUser(){
return "success";
}
}
要跳转的Action:
@Namespace("/manager/sys/user")
@Scope("request")
@Controller("sysUserAction")
public class UserAction extends BaseAction{
@Action(value="loginTest")
public String getLoginUserTest(){
//代码省略
//根本进不来
}
}
报错: There is no Action mapped for namespace [/app/user/follow!manager/sys/user] and action name [loginTest] associated with context path [/dmframedev1]
sprintMVC吗?按报错来说,没有匹配到路径啊