Why i get 404 error trying to acess a rest?
<p>im getting 404 error when i try to visit an url like:</p>

<pre><code>GET: /test/{id}
</code></pre>

<p>PS.: id is a string that changes according users filter</p>

<p>I have "/test" already mapped in web.xml, but i dont know how to declare some value that "i dont know", in this case, "id".</p>

<p>Let me show an example:</p>

<pre><code>@RequestMapping(value="/test/{id}", method = RequestMethod.GET) 
public ModelAndView testingId(@PathVariable String id ){

    System.out.println("id");

    return new ModelAndView("returns", "returns", id);
}
</code></pre>

<p>Any Help?</p>