juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Created] (JUNEAU-229) /htdocs should resolve before child resources.
Date Wed, 13 May 2020 14:37:00 GMT
James Bognar created JUNEAU-229:
-----------------------------------

             Summary: /htdocs should resolve before child resources.
                 Key: JUNEAU-229
                 URL: https://issues.apache.org/jira/browse/JUNEAU-229
             Project: Juneau
          Issue Type: Improvement
          Components: Code
    Affects Versions: 8.1.3
            Reporter: James Bognar


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:
{code:java}
@Rest(path="/root", children=Foo.class)
public class Root {}

@Rest(path="/{foo}") 
public class Foo {
   @RestMethod
   public Object doGet() {}
}{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message