I have inherited an ancient codebase web application using Spring and JSPs. I've been charged with moving from Spring 3 to Spring 6.
Inside a tag is the following code:
str = ExpressionEvaluationUtils.evaluate("href", (String) str, this.pageContext).toString()
I did searches and it says that ExpressionEvaluationUtils is still available in Spring 6. If it is, I can't find it.
Did further digging and finally looked at the deprecation in the spring 3 libraries, which says use JSP 2.0's javax.servlet.jsp.el.ExpressionEvaluator. This appears to have been deprecated over the years as well and I can't find any trace of what to use in it's place.
I found Alternative of ExpressionEvaluationUtils in Spring 4 but this answer doesn't work under the current architecture.
Can anyone advise me how to replace this line of code?
javaxtojakarta. The recommended specification applied isJakarta EE 10. When Jakarta EE 10 is used with Tomcat, it corresponds toTomcat 10.1.jakarta.el.ExpressionFactory