xunliu commented on code in PR #4948:
URL: https://github.com/apache/gravitino/pull/4948#discussion_r1769442948
##########
server-common/src/main/java/org/apache/gravitino/server/web/JettyServer.java:
##########
@@ -299,7 +322,7 @@ private void initializeWebAppServletContextHandler() {
if (warFile.isDirectory()) {
// Development mode, read from FS
servletContextHandler.setResourceBase(warFile.getPath());
- servletContextHandler.setContextPath("/");
+ servletContextHandler.addServlet(DefaultServlet.class, "/");
Review Comment:
We use a `web.xml` to initial the servletContextHandler. So need change this
line.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]