Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

spring-form.tld...where is it?

Tags:

spring-mvc

I cannot find this tag lib, i need it because http://www.springframework.org/tags/form does not work.

like image 214
bmw0128 Avatar asked May 24 '10 22:05

bmw0128


People also ask

What is spring form TLD?

Configuration – spring-form.tld The Spring form tag library comes bundled in spring-webmvc.jar. The spring- form.tld is known as Tag Library Descriptor (tld) file, which is available in a. web application and generates HTML tags.

What is spring form tag library?

Spring's form tag library is integrated with Spring Web MVC. It gives the tag access to the command object and reference data the controller deals with. The implementation of all the tags in the Spring tag library is available in org. springframework. web.

What is the use of spring form?

The Spring MVC form tags are the configurable and reusable building blocks for a web page. These tags provide JSP, an easy way to develop, read and maintain. The Spring MVC form tags can be seen as data binding-aware tags that can automatically set data to Java object/bean and also retrieve from it.

What is Path attribute in JSP?

The 'path' attribute is the most important attribute for most of the tags in the library; it indicates what request-scoped property the input should bind to.


1 Answers

From Spring 3.0 release, both spring.tld and spring-form.tld can be found in the spring-webmvc-3.0.x.RELEASE.jar file.

To use them the JAR file must be in the classpath. Just add the following lines to the JSP files:

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
like image 91
edrabc Avatar answered Oct 30 '22 08:10

edrabc