I m setting up a new project, but for some reason my tags like ${name} or are not being processed. Even ${2+2} is not being processed. I ve looked over the configuration but I just can t seem to spot what s wrong.
最新信息:更新网站xml 解决了EL的标签问题,但形式标签仍然未定。
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
</head>
<body>
<h1>Test</h1>
<fieldset>
<form:form path="helloBean" method="post">
<input id="name" name="name" type="text" placeholder="Your name"/>
<input type="submit" value="submit"/>
</form:form>
</fieldset>
</body>
</html>
• 安装在天候附属地上:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>