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:com.sharmila.hibernatespringsecurity.controller.DefaultController.java

@RequestMapping(value = "/user/SignupPage")
public ModelAndView signup() {
    ModelAndView mv = new ModelAndView();

    mv.setViewName("Signup");
    return mv;/* w ww  . java  2  s .  co m*/
}

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

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

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

@RequestMapping("/curiseAboardTable")
public ModelAndView curiseAboardTable() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("/curiseAboardTable");
    return mv;//from   w  w w. j a  v  a2  s  . co m
}

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

@RequestMapping("/depositPayTable")
public ModelAndView depositPayTable() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("/depositPayTable");
    return mv;//from  w  w  w. j  a  va2s.  c  o  m
}

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

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

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

@RequestMapping("/reserveTable")
public ModelAndView reserveInfoTable() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("/reserveTable");
    return mv;//ww w. ja  v  a2  s  .c o m
}

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

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

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

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

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

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

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

@RequestMapping("/roomManage")
public ModelAndView roomManage() {
    ModelAndView mv = new ModelAndView();
    mv.setViewName("/roomManage");
    return mv;// w w  w.  jav a 2 s.  co  m
}