Skip to content

Commit 9d9acc9

Browse files
committed
Strengthen wording in JSP limitations regarding jar support
Closes gh-13420
1 parent 6b86190 commit 9d9acc9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2462,12 +2462,9 @@ source code documentation for details.
24622462
When running a Spring Boot application that uses an embedded servlet container (and is
24632463
packaged as an executable archive), there are some limitations in the JSP support.
24642464

2465-
* With Tomcat it should work if you use war packaging, i.e. an executable war will work,
2466-
and will also be deployable to a standard container (not limited to, but including
2467-
Tomcat). An executable jar will not work because of a hard coded file pattern in Tomcat.
2468-
2469-
* With Jetty it should work if you use war packaging, i.e. an executable war will work,
2470-
and will also be deployable to any standard container.
2465+
* With Jetty and Tomcat it should work if you use war packaging. An executable war will
2466+
work when launched with `java -jar`, and will also be deployable to any standard
2467+
container. JSPs are not supported when using an executable jar.
24712468

24722469
* Undertow does not support JSPs.
24732470

0 commit comments

Comments
 (0)