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

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

Introduction

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

Prototype

public ModelAndView(View view) 

Source Link

Document

Convenient constructor when there is no model data to expose.

Usage

From source file:com.dub.skoolie.web.controller.admin.schedule.AdminScheduleController.java

@RequestMapping("/admin/schedule")
public ModelAndView index(Model model) {
    return new ModelAndView("admin/schedule/index");
}

From source file:com.mcit.kritth.controller.StartWebApp.java

@RequestMapping("/")
public ModelAndView init() {
    ModelAndView model = new ModelAndView("index");
    model.addObject("attempt", new User());
    model.addObject("register_person", new Person());
    return model;
}

From source file:com.dub.skoolie.web.controller.system.schedule.SystemScheduleController.java

@RequestMapping("/system/schedule")
public ModelAndView index(Model model) {
    return new ModelAndView("system/schedule/index");
}

From source file:controladores.ControladorSaludo.java

@Override
public ModelAndView handleRequest(HttpServletRequest hsr, HttpServletResponse hsr1) throws Exception {
    return new ModelAndView("saludo");
}

From source file:com.orchestra.portale.controller.AdminController.java

@RequestMapping(value = "/admin")
public ModelAndView admin() {
    ModelAndView model = new ModelAndView("admin");
    return model;
}

From source file:com.seabee.snapdragon.controller.SecurityNavigation.java

@RequestMapping(value = "/user-login", method = RequestMethod.GET)
public ModelAndView loginForm() {
    return new ModelAndView("login-form");
}

From source file:controladores.HolaMundoControlador.java

@Override
public ModelAndView handleRequest(HttpServletRequest hsr, HttpServletResponse hsr1) throws Exception {
    return new ModelAndView("a");
}

From source file:CRM.web.HomeController.java

@RequestMapping("/")
public ModelAndView viewartist() {
    return new ModelAndView("index");
}

From source file:com.amkaawaken.controllers.HomeController.java

@RequestMapping(value = "/index.htm", method = RequestMethod.GET)
public ModelAndView home() {
    return new ModelAndView("com.amkaawaken.home");
}

From source file:com.amkaawaken.controllers.NewsController.java

@RequestMapping(value = "/news_blogs.htm", method = RequestMethod.GET)
public ModelAndView news() {
    return new ModelAndView("com.amkaawaken.news_blogs");
}