對e3 tree 不瞭解的可以參考
http://e3.group.javaeye.com/
由於在glasshfish下報一個這樣的錯誤
Unable to read TLD "META-INF/E3Tree.tld" from JAR file "file:/D:/project/glassfish/domain/lotterysys/e3/WEB-INF/lib/e3.jar": org.apache.jasper.JasperException: PWC6329:
TLD specifies invalid body-content (EMPTY) for custom tag userAttribute
剛開始考慮是路徑問題,檢查半天沒查出什麼來。
既然是e3標籤報錯,開啟再說。
用winrar開啟e3.jar
進入e3.jar\META-INF目錄
開啟E3Tree.tld
找到
<tag> <name>userAttribute</name> <tagclass>net.jcreate.e3.tree.taglib.UserAttributeTag</tagclass> <bodycontent>EMPTY</bodycontent> <info></info> <attribute> <name>name</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>value</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag>
將<bodycontent>EMPTY</bodycontent>的EMPTY改成小寫。
重啟伺服器一切ok。
此問題的解決有一半幸運因素。哈哈~
e3.jar 在jboss 下也不能正常使用,哪位仁兄有解決方案發上來分享一下。