Skip to content

Commit 87333ef

Browse files
committed
* Fix #115 - Leftover javax dependencies
1 parent 118d794 commit 87333ef

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

stripes/src/main/java/net/sourceforge/stripes/controller/StripesConstants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ public interface StripesConstants {
103103
* Request attribute key defined by the servlet spec for storing the included servlet path when
104104
* processing a server side include.
105105
*/
106-
String REQ_ATTR_INCLUDE_PATH = "javax.servlet.include.servlet_path";
106+
String REQ_ATTR_INCLUDE_PATH = "jakarta.servlet.include.servlet_path";
107107

108108
/**
109109
* Request attribute key defined by the servlet spec for storing the included path info when
110110
* processing a server side include.
111111
*/
112-
String REQ_ATTR_INCLUDE_PATH_INFO = "javax.servlet.include.path_info";
112+
String REQ_ATTR_INCLUDE_PATH_INFO = "jakarta.servlet.include.path_info";
113113
}

stripes/src/main/java/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* Default implementation of a factory for MultipartWrappers. Looks up a class name in Configuration
2929
* under the key specified by {@link #WRAPPER_CLASS_NAME}. If no class name is configured, defaults
30-
* to the {@link CosMultipartWrapper}. An additional configuration parameter is supported to specify
30+
* to the {@link CommonsMultipartWrapper}. An additional configuration parameter is supported to specify
3131
* the maximum post size allowable.
3232
*
3333
* @author Tim Fennell
@@ -106,7 +106,8 @@ public void init(Configuration config) throws Exception {
106106
}
107107

108108
// Figure out where the temp directory is, and store that info
109-
File tempDir = (File) config.getServletContext().getAttribute("javax.servlet.context.tempdir");
109+
File tempDir =
110+
(File) config.getServletContext().getAttribute("jakarta.servlet.context.tempdir");
110111
if (tempDir != null) {
111112
this.temporaryDirectory = tempDir;
112113
} else {

0 commit comments

Comments
 (0)