当前位置:
代码迷
>>
J2EE
>> jersey 怎么重定向
详细解决方案
jersey 怎么重定向
热度:
490
发布时间:
2016-04-22 01:24:22.0
jersey 如何重定向
@GET
@Path("/admin")
public Viewable index()
{
return new Viewable("/admin/index.jsp",null);
}
默认系统是请求转发到/admin/index.jsp页面。
但是,我想重定向到/admin/index.jsp,请问,
怎么做
感谢。。
------解决方案--------------------
恐怕不行的。
查看全文
相关解决方案
jersey rest web services拾掇
如何写jax-RS/Jersey/restful webservice里头的方法
jersey 怎么重定向
java.lang.NoClassDefFoundError:无法初始化com.sun.jersey.core.header.MediaTypes类
java.lang.ClassCastException: class com.sun.jersey.core.impl.provider.ent
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: 报错