Uploaded image for project: 'Juneau'
  1. Juneau
  2. JUNEAU-229

/htdocs should resolve before child resources.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.1.3
    • None
    • Code
    • None

    Description

      In the following scenario, if you try to hit just "/root", the page will not be styled because the /htdocs subpath gets matched to the Foo resource:

      @Rest(path="/root", children=Foo.class)
      public class Root {}
      
      @Rest(path="/{foo}") 
      public class Foo {
         @RestMethod
         public Object doGet() {}
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamesbognar James Bognar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: