| Revision | 226 (tree) |
|---|---|
| Time | 2016-03-02 21:31:46 |
| Author | t_nakayama1971 |
To generate ROOT.xml as Context file if there is no context root.
| @@ -837,6 +837,9 @@ | ||
| 837 | 837 | if (contextFileName.startsWith("/")) { |
| 838 | 838 | contextFileName = contextFileName.substring(1); |
| 839 | 839 | } |
| 840 | + if (contextFileName.isEmpty()) { | |
| 841 | + contextFileName = "ROOT"; | |
| 842 | + } | |
| 840 | 843 | |
| 841 | 844 | // Tomcat 5 converts / to # in context file name |
| 842 | 845 | contextFileName = contextFileName.replace('/', '#'); |