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.
h:outputScript target="body"是否可以在不一一指定的情况下应用于包含的每个 JavaScript 文件?例如,当使用 PrimeFaces 客户端验证时,beanvalidation.js会在页面<head>标签内添加,我想在</body>标签之前添加它。
h:outputScript target="body"
beanvalidation.js
<head>
</body>