This problem occurs because of the old JSP 1.2 declaration.
If you use the jsp1.2 version of Web. XML, the DTD is defined as follows
<! DOCTYPE Web-app Public
"-//sun Microsystems, INC.//DTD Web application 2.3//en"
"Http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app>
//...
</web-app>
El is off by default ... Must be opened manually. <%@ page iselignored= "false"%>
This method must add a directive <%@ page iselignored= "false" on each page%>
Another workaround is to modify the Web. xml file as follows
<?xml version= "1.0" encoding= "UTF-8"?>
<web-app version= "2.5"
Xmlns= "Http://java.sun.com/xml/ns/javaee"
Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"
Xsi:schemalocation= "Http://java.sun.com/xml/ns/javaee
Http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd ">
<display-name>SpringMVC</display-name>
<servlet>
<servlet-name>hello</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>hello</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
</web-app>
The value of Modelandview AddObject () setting in Springmvc JSP is not being taken