awinkumar - 2006-08-22

Specifications:
Weblogic:8.1 Sp4
JDK:1.4.02_10
DisplayTag:1.1

Tomcat:4.1
Tomcat:5.0

I 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 did not 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 table in the same jsp page the export functionality works fine. But if I created the display tables in 2 different JSP files and include both the files in 1 file then the export functionality does not work.

I find this tag library very useful,but I have to say that the documentation and support is not up to the mark. I am trying to do my bit by posting my experiences.

Hope this helps.
Ash.

Note: Do people really reply on this forum ? or do we have a much more active forum for displaytag which I don't know about ? nabble ?

Please advise.