SPRINGMVC form Labels

Source: Internet
Author: User

Introducing Tag Libraries

<%@ taglib prefix= "form" uri= "Http://www.springframework.org/tags/form"%>

The path attribute of the form label is used for data binding

<form:select> and <form:options> specified items can be map, array, list

Map: Text with option value for key option

List: When the list contains a PO object, specify that the Po object that corresponds to Itemlabel and itemvalue is specified field, the text that is converted to option on the page, and the value of option.

Reference:

http://haohaoxuexi.iteye.com/blog/1807330

http://lucky16.iteye.com/blog/1901421

Http://www.cnblogs.com/liukemng/p/3754211.html

SPRINGMVC form Labels

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.