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 2022/06/24 17:23:00 UTC
[jira] [Closed] (JUNEAU-229) /htdocs should resolve before child resources.
[ https://issues.apache.org/jira/browse/JUNEAU-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Bognar closed JUNEAU-229.
-------------------------------
Resolution: Fixed
I don't believe this is an issue anymore.
> /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
> Priority: Major
>
> 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.20.7#820007)