diff --git a/jetty-ee10/jetty-ee10-webapp/src/main/java/org/eclipse/jetty/ee10/webapp/WebInfConfiguration.java b/jetty-ee10/jetty-ee10-webapp/src/main/java/org/eclipse/jetty/ee10/webapp/WebInfConfiguration.java index 661592956272..6b793044a41d 100644 --- a/jetty-ee10/jetty-ee10-webapp/src/main/java/org/eclipse/jetty/ee10/webapp/WebInfConfiguration.java +++ b/jetty-ee10/jetty-ee10-webapp/src/main/java/org/eclipse/jetty/ee10/webapp/WebInfConfiguration.java @@ -111,7 +111,7 @@ public void deconfigure(WebAppContext context) throws Exception * exit depends on value of persistTempDirectory. * *
  • - * Iff jakarta.servlet.context.tempdir context attribute is set for + * If {@value jakarta.servlet.ServletContext#TEMPDIR} context attribute is set for * this webapp && exists && writeable, then use it. Set delete on exit depends on * value of persistTempDirectory. *
  • diff --git a/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/Request.java b/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/Request.java index c09a8c4291a5..635355a3cdfc 100644 --- a/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/Request.java +++ b/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/Request.java @@ -1997,7 +1997,7 @@ private void setNonComplianceViolationsOnRequest() private MultiPartFormInputStream newMultiParts(MultipartConfigElement config, int maxParts) throws IOException { return new MultiPartFormInputStream(getInputStream(), getContentType(), config, - (_context != null ? (File)_context.getAttribute("jakarta.servlet.context.tempdir") : null), maxParts); + (_context != null ? (File)_context.getAttribute(ServletContext.TEMPDIR) : null), maxParts); } @Override