|
21 | 21 | import java.lang.reflect.Method;
|
22 | 22 | import java.util.Collection;
|
23 | 23 | import java.util.Collections;
|
24 |
| -import javax.servlet.Servlet; |
25 |
| -import javax.servlet.ServletContainerInitializer; |
26 |
| -import javax.servlet.ServletContext; |
27 |
| -import javax.servlet.descriptor.JspConfigDescriptor; |
28 |
| -import javax.servlet.descriptor.JspPropertyGroupDescriptor; |
29 |
| -import javax.servlet.descriptor.TaglibDescriptor; |
30 |
| -import javax.servlet.http.HttpServletResponse; |
| 24 | +import jakarta.servlet.Servlet; |
| 25 | +import jakarta.servlet.ServletContainerInitializer; |
| 26 | +import jakarta.servlet.ServletContext; |
| 27 | +import jakarta.servlet.descriptor.JspConfigDescriptor; |
| 28 | +import jakarta.servlet.descriptor.JspPropertyGroupDescriptor; |
| 29 | +import jakarta.servlet.descriptor.TaglibDescriptor; |
| 30 | +import jakarta.servlet.http.HttpServletResponse; |
31 | 31 |
|
32 | 32 | import org.apache.commons.io.FileUtils;
|
33 | 33 | import org.junit.Before;
|
@@ -68,7 +68,7 @@ public class PaxWebCustomTldIntegrationTest {
|
68 | 68 | @BeforeClass
|
69 | 69 | @SuppressWarnings("JavaReflectionInvocation")
|
70 | 70 | public static void initStatic() throws Exception {
|
71 |
| - Class<?> jspFactoryClass = Class.forName("javax.servlet.jsp.JspFactory"); |
| 71 | + Class<?> jspFactoryClass = Class.forName("jakarta.servlet.jsp.JspFactory"); |
72 | 72 | Method setDefaultFactory = jspFactoryClass.getDeclaredMethod("setDefaultFactory", jspFactoryClass);
|
73 | 73 | Class<?> jspFactoryImplClass = Class.forName("org.apache.jasper.runtime.JspFactoryImpl");
|
74 | 74 | setDefaultFactory.invoke(null, jspFactoryClass.cast(jspFactoryImplClass.getConstructor().newInstance()));
|
@@ -168,6 +168,11 @@ public String getBuffer() {
|
168 | 168 | public String getErrorOnUndeclaredNamespace() {
|
169 | 169 | return "false";
|
170 | 170 | }
|
| 171 | + |
| 172 | + @Override |
| 173 | + public String getErrorOnELNotFound() { |
| 174 | + return "false"; |
| 175 | + } |
171 | 176 | });
|
172 | 177 | }
|
173 | 178 | };
|
|
0 commit comments