Java – how to generate selection tags using JSTL or standard actions in JSP
•
Java
I want to create a selection tag in the JSP, where the option is enumeration (for example, all U.S. countries) Are their tags JSTL or standard tags that can traverse the list without manually?
Solution
Not in JSTL However, many frameworks provide such additional tags
> Struts2 – < s:select> > Spring MVC – < form:select> > JSF – < h:selectOneMenu>
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码