本文整理了Java中org.springframework.web.servlet.ModelAndView.getModelInternal()
方法的一些代码示例,展示了ModelAndView.getModelInternal()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ModelAndView.getModelInternal()
方法的具体详情如下:
包路径:org.springframework.web.servlet.ModelAndView
类名称:ModelAndView
方法名:getModelInternal
[英]Return the model map. May return null. Called by DispatcherServlet for evaluation of the model.
[中]返回模型地图。可能返回null。由DispatcherServlet调用以评估模型。
代码示例来源:origin: spring-projects/spring-framework
if (viewName != null) {
view = resolveViewName(viewName, mv.getModelInternal(), locale, request);
if (view == null) {
throw new ServletException("Could not resolve view with name '" + mv.getViewName() +
response.setStatus(mv.getStatus().value());
view.render(mv.getModelInternal(), request, response);
代码示例来源:origin: org.springframework/spring-webmvc
if (viewName != null) {
view = resolveViewName(viewName, mv.getModelInternal(), locale, request);
if (view == null) {
throw new ServletException("Could not resolve view with name '" + mv.getViewName() +
response.setStatus(mv.getStatus().value());
view.render(mv.getModelInternal(), request, response);
代码示例来源:origin: stackoverflow.com
if (mv.isReference()) {
view = resolveViewName(mv.getViewName(), mv.getModelInternal(), locale, request);
if (view == null) {
throw new ServletException("Could not resolve view with name '" + mv.getViewName() +
view.render(mv.getModelInternal(), request, response);
内容来源于网络,如有侵权,请联系作者删除!