Skip to content

Commit b8d8633

Browse files
committed
Deprecated Spring's own JSP expression evaluation
Since web applications declaring a Servlet 2.3 web.xml become really rare now, we're finally deprecating Spring's own ExpressionEvaluationUtils class. As a consequence, we're also setting "springJspExpressionSupport" to false by default, avoiding the potential double EL evaluation problem on pre-Servlet-3.0 containers. Issue: SPR-5308
1 parent 62ccc8d commit b8d8633

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-webmvc/src/test/java/org/springframework/web/servlet/tags/AbstractTagTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public abstract class AbstractTagTests extends TestCase {
4141

4242
protected MockPageContext createPageContext() {
4343
MockServletContext sc = new MockServletContext();
44+
sc.addInitParameter("springJspExpressionSupport", "true");
4445
SimpleWebApplicationContext wac = new SimpleWebApplicationContext();
4546
wac.setServletContext(sc);
4647
wac.setNamespace("test");

0 commit comments

Comments
 (0)