title: jersey is not finding my resource with sub url
body: <p>I want to have two resources at URLs:  <code>/apps</code> and <code>/apps/runs</code>. </p>
  
  <p>So, I created resources as shown below. I use <code>Spring</code> for object injection. When I use this way, I am getting the <code>404 error for HTTP get requests</code> on <code>/apps/runs</code>. Am I doing some thing wrong? </p>
  
  <p>Here is my code:</p>
  
  <pre><code>@Scope("prototype")
  @Path("/apps")
  public class ManufacturersResource {
  
      @GET
      @Produces("application/xml")
      public List&lt;Applications&gt; getApplications() {
          return apps.findAll();
      }
      }
  
   @Scope("prototype")
   @Path("/apps/runs")
   public class ManufacturersResource {
  
      @GET
       @Produces("application/xml")
       public List&lt;ApplicationInstances&gt; getApplicationInstances() {
           return appInstances.findAll();
       }
   }
  </code></pre>