Skip to content

Commit 52137e8

Browse files
committed
补提交pom.xml,屏蔽jastow
1 parent 1fcecdd commit 52137e8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

solon-jakarta-projects/solon-server/solon-server-undertow-jakarta/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<artifactId>jboss-servlet-api_4.0_spec</artifactId>
6464
<version>2.0.0.Final</version>
6565
</dependency>-->
66-
<dependency>
66+
<!--<dependency>
6767
<groupId>io.undertow.jastow</groupId>
6868
<artifactId>jastow</artifactId>
6969
<version>${undertow.jastow.jakarta.version}</version>
@@ -82,7 +82,7 @@
8282
</exclusion>
8383
</exclusions>
8484
<scope>provided</scope>
85-
</dependency>
85+
</dependency>-->
8686
<!--<dependency>
8787
<groupId>org.jboss.metadata</groupId>
8888
<artifactId>jboss-metadata-common</artifactId>

solon-jakarta-projects/solon-server/solon-server-undertow-jakarta/src/main/java/org/noear/solon/server/undertow/UndertowServerAddJsp.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected HttpHandler buildHandler() throws Exception {
5858
jspServlet.addInitParam("fork", "false");
5959
jspServlet.addInitParam("xpoweredBy", "false");
6060
jspServlet.addInitParam("development", "false");
61-
61+
// jspServlet.addInitParam("taglibLocations", "/WEB-INF/,/templates/");
6262
builder.setResourceManager(new JspResourceManager(AppClassLoader.global(), fileRoot))
6363
.addServlet(new ServletInfo("ACTServlet", UtHttpContextServletHandler.class).addMapping("/").setAsyncSupported(true))
6464
.addServlet(jspServlet);
@@ -81,6 +81,7 @@ private static void setupDeployment(final DeploymentInfo deploymentInfo, final M
8181
deploymentInfo.addServletContextAttribute("org.apache.jasper.SERVLET_VERSION", deploymentInfo.getMajorVersion() + "." + deploymentInfo.getMinorVersion());
8282
deploymentInfo.addServletContextAttribute("org.apache.jasper.JSP_PROPERTY_GROUPS", propertyGroups);
8383
deploymentInfo.addServletContextAttribute("org.apache.jasper.JSP_TAG_LIBRARIES", tagLibraries);
84+
// deploymentInfo.addServletContextAttribute("jakarta.servlet.context.tldScan", true);
8485
deploymentInfo.addServletContextAttribute(InstanceManager.class.getName(), instanceManager);
8586
deploymentInfo.addServletContainerInitializers(new ServletContainerInitializerInfo(
8687
JasperInitializer.class,

0 commit comments

Comments
 (0)