@At("/test")
public class Test1Module extends BaseModule{
@Ok("raw")
@At("/testa")
//@Ok("->:/testb")
public Object testA(HttpServletRequest request, HttpServerResponse response){
return new ForwardView("/testb");
}
@Ok("json")
@At("/testb")
public Object testB(HttpServletRequest request, HttpServerResponse response){
return "This is forward!";
}
}
4 回复
2018-01-16 11:00:15,017 [http-nio-8081-exec-3] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Search mapping for [GET] path=/testb : NOT Action match
@wendal 谢谢!
添加回复
请先登陆