From b8d86330d1fadc645630416c3aaebf131bf749fc Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 26 Nov 2012 00:35:47 +0100 Subject: [PATCH] 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 --- .../org/springframework/web/servlet/tags/AbstractTagTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/AbstractTagTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/AbstractTagTests.java index 4c7c0dfea9..4543e0be7e 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/AbstractTagTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/tags/AbstractTagTests.java @@ -41,6 +41,7 @@ public abstract class AbstractTagTests extends TestCase { protected MockPageContext createPageContext() { MockServletContext sc = new MockServletContext(); + sc.addInitParameter("springJspExpressionSupport", "true"); SimpleWebApplicationContext wac = new SimpleWebApplicationContext(); wac.setServletContext(sc); wac.setNamespace("test");