Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
11.1
-
None
-
None
Description
Newly created Gradle Web Application projects have by default an empty context path inĀ src/main/webapp/WEB-INF/context.xml:
<?xml version="1.0" encoding="UTF-8"?> <Context path=""/>
I think it would be better to use the project name prepended with a slash.
<?xml version="1.0" encoding="UTF-8"?> <Context path="/project-name"/>
This is more consistent with the analogous maven web application project and moreover it is a saner default when multiple projects are deployed on the same application server.