Example usage for org.springframework.web.bind.annotation RequestMethod GET

List of usage examples for org.springframework.web.bind.annotation RequestMethod GET

Introduction

In this page you can find the example usage for org.springframework.web.bind.annotation RequestMethod GET.

Prototype

RequestMethod GET

To view the source code for org.springframework.web.bind.annotation RequestMethod GET.

Click Source Link

Usage

From source file:com.prongbang.web.controller.HomeController.java

@RequestMapping(method = RequestMethod.GET)
public String init(ModelMap model) {

    return "login";
}

From source file:edu.umuc.cmsc495.trackit.controllers.HomeController.java

@RequestMapping(method = RequestMethod.GET)
public String home(ModelMap map) {
    // Must return name of file (minus .jsp) under /views
    return "home";
}

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.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.NewsController.java

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

From source file:org.bhagya.finance.api.web.InitController.java

@RequestMapping(value = "/", method = RequestMethod.GET)
public String redirect() {
    return "redirect:/api/index.html";
}

From source file:com.sapito.controller.MainController.java

@RequestMapping(value = "/", method = RequestMethod.GET)
public String redirect(Model model) {
    return "sapoindex";
}

From source file:edu.co.unbosque.software2.helloworld.controller.DefaultController.java

@RequestMapping(value = "/sayhi", method = RequestMethod.GET)
public String index(ModelMap map) {
    map.put("msg", "Hello Spring 4 Web MVC!");
    return "index";
}

From source file:edu.umuc.cmsc495.trackit.controllers.ReportsController.java

@RequestMapping(method = RequestMethod.GET)
public String reports(ModelMap map) {
    // Must return name of file (minus .jsp) under /views
    return "reports";
}

From source file:escambovirtual.controller.BuscaController.java

@RequestMapping(value = "/web/buscar", method = RequestMethod.GET)
public ModelAndView getBuscar(String item) throws Exception {
    ModelAndView mv = new ModelAndView("/usuario/busca/buscaItem");
    mv.addObject("item", item);
    return mv;/*ww w  .  j  ava  2s. c om*/
}