SpringMVC如何返回空视图
1个回答
2018-07-13 · 国内最优秀java资源共享平台
关注
展开全部
a:返回类型为void
public void Webinfo(HttpServletRequest request,HttpSession session){
siwi.GetWebInfo(request,session);
}
b:返回类型为String,返回空字符
public String Webinfo(HttpServletRequest request,HttpSession session){
siwi.GetWebInfo(request,session);
retirn "";
}
public void Webinfo(HttpServletRequest request,HttpSession session){
siwi.GetWebInfo(request,session);
}
b:返回类型为String,返回空字符
public String Webinfo(HttpServletRequest request,HttpSession session){
siwi.GetWebInfo(request,session);
retirn "";
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询