Hi, my first request to a JSP page using the display tag library takes about 10-15 seconds and subsequent requests are fast.  Does anyone know why the first request is slow? 

The test code is below.  I don't believe the slowness is jsp compiling as we precompile and it seems that it is working.  We're on Weblogic 8.1.  We originally had a really long delay and I found that the long delay went down to 10-15 seconds when I switched to displaytag-12.tld (in web-inf) from displaytag-11.tld.

I did notice a log warning saying it couldn't find displaytag.properties but I think that is an optional file.  My CPU is revving at 100% during this start up period.

Thanks very much for the help!

>>>>>

JSP:
<%@ page import="java.util.Vector" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

<%
    Vector vect = new Vector();
    request.setAttribute( "test", vect );
%>

<display:table name="test" />

WEB.XML
<taglib>
      <taglib-uri>http://displaytag.sf.net</taglib-uri>
      <taglib-location>/WEB-INF/displaytag-12.tld</taglib-location>
</taglib>

Reply via email to