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:org.nikiforov.karafrestspring.spring.mvc.HelloController.java

@RequestMapping(method = RequestMethod.GET)
public String printHello(ModelMap model) {
    model.addAttribute("message", "Hello Spring MVC Framework!");
    return "hello";
}

From source file:com.onclave.testbench.Security.FormLogin.SimpleFormAdminLoginController.java

@RequestMapping(value = "/admin-login", method = RequestMethod.GET)
public String adminLoginView() {
    return "/login/custom-admin-login";
}

From source file:controllers.generalController.java

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

From source file:com.sapito.direccion.DireccionController.java

@RequestMapping(value = "direccion", method = RequestMethod.GET)
public String index(Model model) {
    return "Direccion/indexdireccion";
}

From source file:controller.AboutUs.java

@RequestMapping(method = RequestMethod.GET)
public String aboutus(ModelMap mm) {
    mm.put("title", "About US");
    return "aboutus";
}

From source file:com.tsg.twitterapifun.HomeController.java

@RequestMapping(value = { "/", "/openweather" }, method = RequestMethod.GET)
public String displayHomePage() {
    return "openweather";

}

From source file:hbaseweb.controllers.SecondController.java

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

From source file:com.dalamar.thewebproject.TstController.java

@RequestMapping(value = "/tst", method = RequestMethod.GET)
public String testIt(ModelMap mdl) {
    mdl.addAttribute("sampleAttribute", "nigger");
    return "tst";
}

From source file:com.swcguild.bluraymvc.controller.AddController.java

@RequestMapping(value = "/add", method = RequestMethod.GET)
public String displayAddPage() {
    return "add";
}

From source file:com.sg.rest.controllers.TestController.java

@RequestMapping(value = RequestPath.TEST_REQUEST, method = RequestMethod.GET)
public void ping() throws Exception {
}