List of usage examples for org.springframework.web.bind.annotation RequestMethod GET
RequestMethod GET
To view the source code for org.springframework.web.bind.annotation RequestMethod GET.
Click Source Link
From source file:com.sarm.utilitiesonweb.views.controller.EmployeeFormController.java
@RequestMapping(method = RequestMethod.GET) public String getUploadForm(Model model) { model.addAttribute(new EmployeeData()); return "main/addEmployee"; }
From source file:ivh11b3.ArchiForum.Controller.ErrorController.java
@RequestMapping(value = "/error/400", method = RequestMethod.GET) public String show400Page() { return BAD_REQUEST; }
From source file:com.swcguild.springmvcwebapp.controller.TipCalcController.java
@RequestMapping(value = "/tipCalc", method = RequestMethod.GET) public String doGet() { return "tipCalc"; }
From source file:controller.ChangepasswordController.java
@RequestMapping(method = RequestMethod.GET) public String changepassword(ModelMap mm) { mm.put("title", "Change Password"); return "changepassword"; }
From source file:edu.lfa.webapp.controller.AccountController.java
@RequestMapping(value = "/all", method = RequestMethod.GET) public @ResponseBody String index() { String data = ""; for (Account acc : accountDAO.getAll()) { data += "<li>" + acc.getAccountName() + "</li>"; }/*from w w w . j ava 2s . c om*/ return data; }
From source file:net.paulgray.bbrest.web.ConfigController.java
@RequestMapping(value = "/info", method = RequestMethod.GET) public ResponseEntity configView() { final SystemInfoService bbInfo = SystemInfoServiceFactory.getInstance(); return new ResponseEntity(new Object() { public JvmInfo jvmInfo = bbInfo.getJvmInfo(); public OsInfo osInfo = bbInfo.getOsInfo(); public String app = "BbRest"; public String version = "1.0.0-SNAPSHOT"; public Date time = new Date(); }, HttpStatus.OK);/*from w ww. j a v a2s . com*/ }
From source file:org.openmrs.module.radiology.web.controller.RadiologyOrderListController.java
@RequestMapping(method = RequestMethod.GET) public ModelAndView handleRequest() { ModelAndView mav = new ModelAndView(); mav.setViewName("module/radiology/radiologyOrderList"); return mav;/*from ww w . j a v a 2 s . c o m*/ }
From source file:uk.org.funcube.fcdw.controller.HiresController.java
@RequestMapping(value = "", method = RequestMethod.GET) public ModelAndView getFuncube() { ModelAndView model = new ModelAndView("hires"); model.addObject("satelliteId", "2"); return model; }
From source file:com.MyHistory.Controller.TorneoController.java
@RequestMapping(value = "/ListaTorneos", method = RequestMethod.GET) public ModelAndView mostrarTorneos(HttpServletRequest pRequest) { ModelAndView mv = new ModelAndView(); ServiceTorneo torneo_service = new ServiceTorneo(); ResponseTorneos respuesta = torneo_service.getTorneos(); mv.addObject("respuesta", respuesta); mv.setViewName("ListaTorneos"); return mv;//from w w w . j a v a 2 s .c o m }
From source file:cz.muni.fi.pa165.bookingmanager.controllers.ErrorController.java
@RequestMapping(value = "/404", method = RequestMethod.GET) public String error404(HttpServletRequest request) { return getLayoutUrlPrefix(request) + "404"; }