title: Spring MVC multiple requestmapping , missing requestparam
body: <p>I need to handle two @RequestMapping values by one method.For example 
  <strong>/create and create/{id}</strong></p>
  
  <pre><code>@RequestMapping(value = {"create","create/{id}"}, method = RequestMethod.GET)
  public String create_form(@PathVariable(value = "id") Long id,Model model, @ModelAttribute("channelNode") ChannelNode channelNode,
          BindingResult result) {
  
        if(id&gt;0){ //or if id exsist 
  
        //do something
  
        }
  
      return CHANNELNODE_ADD_VIEW;
  }
  </code></pre>
  
  <p>But it doesn work when I run simple "create" url, without any param/</p>
  
  <p><strong>It shows me following Error:</strong></p>
  
  <p>HTTP Status 500 - Missing URI template variable 'id' for method parameter of type Long</p>
  
  <p>type Status report</p>
  
  <p>message Missing URI template variable 'id' for method parameter of type Long</p>
  
  <p>description The server encountered an internal error that prevented it from fulfilling this request.</p>