Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
看来我不能使用类似的东西
<%@ taglib uri="/WEB-INF/my.tld" prefix="my"%>
因为它不是 jspx 的有效 xml 标记。
No, you cannot. Use this tag attribute in your JSP document: xmlns:my="urn:jsptld:/WEB-INF/tlds/my.tld" (TLDs should be in tlds subdirectory of WEB-INF).
xmlns:my="urn:jsptld:/WEB-INF/tlds/my.tld"