[displaytag - Help] Weblogic and Tomcat Difference: msg#00099
Subject: | [displaytag - Help] Weblogic and Tomcat Difference |
---|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3879358By: awinkumarSpecifications:Weblogic:8.1 Sp4JDK:1.4.02_10DisplayTag:1.1Tomcat:4.1Tomcat:5.0I found the difference while running the war file on both the environments:On tomcat:Not Working:web.xml entry: ----------------- <taglib><taglib-uri>displaytag</taglib-uri><taglib-location>/WEB-INF/displaytag.tld</taglib-location></taglib> ----------------- JSP entry: <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page";> <%@ taglib uri="displaytag" prefix="display" %> --------------------- Working:<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page";xmlns:display="urn:jsptld:http://displaytag.sf.net";>---------------------------------- Exported the war file from tomcat and deployed the same on weblogic and it didnot work. ---------------- Weblogic Not working:<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page";xmlns:display="urn:jsptld:http://displaytag.sf.net";> ---------------- Works in weblogic:<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page";> <%@ taglib uri="displaytag" prefix="display" %>- ----------------------------------------------- The other difference I found is with exporting of documents:I have 2 tables in teh same jsp page. If I create both the display tag tablein the same jsp page the export functionality works fine. But if I created thedisplay tables in 2 different JSP files and include both the files in 1 filethen the export functionality does not work.I find this tag library very useful,but I have to say that the documentationand support is not up to the mark. I am trying to do my bit by postingmy experiences.Hope this helps.Ash.Note: Do people really reply on this forum ? or do we have a much more activeforum for displaytag which I don't know about ? nabble ?Please advise. 参考:http://osdir.com/ml/java.displaytag.general/2006-08/msg00099.html http://www.nabble.com/S2---using-display-tag-with-Struts-td14280917.html |
评论