title: Passing multiple parameters from view to controller in spring mvc
body: <p>I want to pass parameter from my jsp page to controller. I found a way to do so as-
  on click of-</p>
  
  <pre><code>&lt;a href="ReqElement/reqTypeList.html?menuTab=CRM Setup"&gt;CRM Setup&lt;/a&gt;
  </code></pre>
  
  <p>and in controller class-</p>
  
  <pre><code>@RequestMapping("/reqTypeList")
      public ModelAndView reqTypes(@ModelAttribute("reqElementSetup") ReqElementBean reqElBean, BindingResult result, Map&lt;String, Object&gt; map,HttpSession session,@RequestParam("id") String menu) {
  </code></pre>
  
  <p>But if i want to pass multiple parameters then i have to add more @RequestParam as - </p>
  
  <pre><code>@RequestMapping("/reqTypeList")
  public ModelAndView reqTypes(@ModelAttribute("reqElementSetup") ReqElementBean reqElBean, BindingResult result, Map&lt;String, Object&gt; map,HttpSession session,@RequestParam("id") String id,@RequestParam("roleId") String roleid,@RequestParam("funcId") String funcid) {
  </code></pre>
  
  <p>So my question is - Is there any other convenient way to do so? Because in such above way i.e. in case of more and more parameters the size of method parameter will get increased.
  I am new for Spring. Please help.</p>