You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (Jira)" <ji...@apache.org> on 2020/05/13 14:37:00 UTC
[jira] [Created] (JUNEAU-229) /htdocs should resolve before child
resources.
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)