Example usage for org.springframework.web.servlet ModelAndView setViewName

List of usage examples for org.springframework.web.servlet ModelAndView setViewName

Introduction

In this page you can find the example usage for org.springframework.web.servlet ModelAndView setViewName.

Prototype

public void setViewName(@Nullable String viewName) 

Source Link

Document

Set a view name for this ModelAndView, to be resolved by the DispatcherServlet via a ViewResolver.

Usage

From source file:team.curise.controller.GetController.java

@RequestMapping("/index")
public ModelAndView index() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("index");
    return mv;/*from  w ww .  j av a2  s.  c om*/
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/cleanStatus")
public ModelAndView cleanStatus() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("cleanStatus");
    return mv;/*from   www .jav a2  s  . c o  m*/
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/changeInfo")
public ModelAndView changeInfo() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("changeInfo");
    return mv;/*from   www .j a  va 2 s.  c om*/
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/curiseAboard")
public ModelAndView curiseAboard() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("curiseAboard");
    return mv;/*w w w .  j a v a  2s .c o m*/
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/customerInfo")
public ModelAndView customerInfo() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("customerInfo");
    return mv;//from  w  w  w . ja  v  a  2  s  .  c  om
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/depositPay")
public ModelAndView depositPay() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("depositPay");
    return mv;//  w  w w  .  jav  a2 s .c  o  m
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/payment")
public ModelAndView payment() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("payment");
    return mv;/*from w ww .j av a 2s  . co  m*/
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/reserve")
public ModelAndView reserve() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("reserve");
    return mv;// w  w w  .  j a  v a2s. com
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/reserveInfo")
public ModelAndView reserveInfo() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("reserveInfo");
    return mv;//from ww  w . ja  v  a 2 s .com
}

From source file:team.curise.controller.GetController.java

@RequestMapping("/roomChange")
public ModelAndView roomChange() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("roomChange");
    return mv;/*w  w w. j  av a2  s  .c  om*/
}