Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ public interface StripesConstants {
* Request attribute key defined by the servlet spec for storing the included servlet path when
* processing a server side include.
*/
String REQ_ATTR_INCLUDE_PATH = "javax.servlet.include.servlet_path";
String REQ_ATTR_INCLUDE_PATH = "jakarta.servlet.include.servlet_path";

/**
* Request attribute key defined by the servlet spec for storing the included path info when
* processing a server side include.
*/
String REQ_ATTR_INCLUDE_PATH_INFO = "javax.servlet.include.path_info";
String REQ_ATTR_INCLUDE_PATH_INFO = "jakarta.servlet.include.path_info";
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Default implementation of a factory for MultipartWrappers. Looks up a class name in Configuration
* under the key specified by {@link #WRAPPER_CLASS_NAME}. If no class name is configured, defaults
* to the {@link CosMultipartWrapper}. An additional configuration parameter is supported to specify
* to the {@link CommonsMultipartWrapper}. An additional configuration parameter is supported to specify
* the maximum post size allowable.
*
* @author Tim Fennell
Expand Down Expand Up @@ -106,7 +106,8 @@ public void init(Configuration config) throws Exception {
}

// Figure out where the temp directory is, and store that info
File tempDir = (File) config.getServletContext().getAttribute("javax.servlet.context.tempdir");
File tempDir =
(File) config.getServletContext().getAttribute("jakarta.servlet.context.tempdir");
if (tempDir != null) {
this.temporaryDirectory = tempDir;
} else {
Expand Down