1
我可以使用Spring標籤和facelets嗎?我有一個JSP頁面,並且有一個指令:彈簧標籤和facelets
<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
然後我可以插入標籤<s:theme code='css' />
(我使用的主題解析器)。現在我需要使用主題解析器使用的Facelets代替JSP另一個項目。有一個名稱空間聲明,而不是JSP指令,不是嗎?
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:em="http://java.sun.com/jsf/composite/emcomp"
xmlns:st="http://www.springframework.org/tags">
但在Eclipse的命名空間都標有警告標誌,並在服務器上它不工作,因爲標籤庫丟失,althought我已經把圖書館的Spring Web MVC中的lib
目錄的Eclipse內部的GlassFish服務器。 JAR真的包含META-INF/spring.tld
。
我無法找到,有什麼問題。