0
要求我有一個方法:如何獲得方法的用SpringMVC中
@RequestMapping(value="/busqueda/basica", method = {RequestMethod.POST,RequestMethod.GET})
public String busquedaBasica(HttpServletRequest request,
HttpServletResponse response,
ModelMap modelMap,
@RequestParam("nombreBasica") String nombre){
...
}
有沒有什麼辦法讓該法的要求,POST或GET?