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.amkaawaken.controllers.GoalsController.java

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

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

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

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

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

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

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

From source file:com.library.bookarticlelibrary.controller.HomeController.java

@RequestMapping(value = { "/", "/home" }, method = RequestMethod.GET)
public ModelAndView displayHome() {
    ModelAndView model = new ModelAndView("home");
    model.addObject("name", "Tjeerdjan");
    model.addObject("title", "home");

    return model;
}

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

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

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

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

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

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

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

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

From source file:web.Controller.LoginController.java

public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {

    return new ModelAndView("authentification");
}