我想将标记文件转换为 tagx,但我不知道如何重新编写属性名称/类型声明(最后一行):
标签:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="tag"%>
<%@ taglib uri='http://java.sun.com/jsp/jstl/functions' prefix='fn'%>
<%@ tag import="myPackage.*"%>
<%@ attribute name="treeMap" type="java.util.Collection"%> <!-- ##### this one #### -->
标签:
<?xml version="1.0" encoding="utf-8"?>
<jsp:root
version="2.1"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:fn="http://java.sun.com/jsp/jstl/functions"
xmlns:tag="/WEB-INF/tags"
import="myPackage.*"
>
有人可以告诉我适当的语法<%@ attribute name="treeMap" type="java.util.Collection"%>
吗?:)