spring-form.tld ......它在哪里?

bmw*_*128 9 spring-mvc

我找不到这个标签lib,我需要它,因为http://www.springframework.org/tags/form 不起作用.

edr*_*abc 23

从Spring 3.0发行版开始,spring.tldspring-form.tld都可以在spring-webmvc-3.0.x.RELEASE.jar文件中找到.

要使用它们,JAR文件必须位于类路径中.只需将以下行添加到JSP文件中:

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
Run Code Online (Sandbox Code Playgroud)


duf*_*ymo 10

spring-webmvc-3.0.x.RELEASE.jar,当然.


rac*_*mir 5

可以使用以下maven包含spring-webmvc-3.xxRELEASE.jar:

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-webmvc</artifactId>
    <version>${spring.version}</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)

只需确保您使用的$ {spring.version}与Spring Security的版本匹配(如果您使用它),因为这可能会导致版本冲突.