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.sapito.operaciones.OperacionesController.java

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

From source file:com.sapito.inventarios.InventariosController.java

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

From source file:dicky.controlleruser.HomeController.java

@RequestMapping(method = RequestMethod.GET)
public String index(ModelMap modelMap) {
    modelMap.put("title", "Home");
    return "home.index";
}

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:controller.AcountController.java

@RequestMapping(method = RequestMethod.GET)
public String showAccount(HttpSession session) {
    if (session.getAttribute("username") != null) {
        return "account";
    }//from  w ww  .j a  va2 s .c om
    return "redirect:user/login";
}

From source file:br.com.proj.web.controllers.HomeController.java

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

From source file:com.dobri.springldap.HelloController.java

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

From source file:dicky.controlleruser.AboutController.java

@RequestMapping(method = RequestMethod.GET)
public String index(ModelMap modelMap) {
    modelMap.put("title", "About Us");
    return "about.index";
}

From source file:za.ac.cput.project.hospitalmanagement.api.HomeApi.java

@RequestMapping(value = "home", method = RequestMethod.GET)
public String Index() {
    return "This is a Home Page";
}

From source file:com.onclave.testbench.RESTful.SPAForm.SPARESTfulFormViewController.java

@RequestMapping(value = "/admin/views/spaRESTful/studentFORM", method = RequestMethod.GET)
public String serveStudentFormView() {
    return "spaRESTful/studentFORM";
}