【发布时间】:2020-06-15 12:01:45
【问题描述】:
您遇到的问题:
- 将应用程序部署到 gcloud 上的 appengine 后,gradle 默认网页为 index.html。但是在 web.xml 中声明:<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
在本地环境中,它按照我的预期和声明从 index.jsp 开始,但部署后不是
您预期会发生什么:
- 应用程序从 index.jsp 页面开始。正如它声明的那样
我使用 Gradle https://github.com/GoogleCloudPlatform/app-gradle-plugin 部署到 appEngine
【问题讨论】: