1. 程式人生 > >springMvc註解@RequestParam用法解析

springMvc註解@RequestParam用法解析

  @RequestMapping("testRequestParam")    
  public String filesUpload(@RequestParam(value="aa", required=true) String inputStr,
@RequestParam(value="inputInt", required=false) int inputInt ,HttpServletRequest request) {  return "index";}