The classes are mostly common classes (Jakarta Commons, log4j, etc) and the Display Tag Library classes.
2. Why is initial request slow? (Marcus Leon)
From: Marcus Leon <[EMAIL PROTECTED]>
To: [email protected]
Subject: [displaytag-user] Why is initial request slow?
Reply-To: [email protected]
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=3D"java.util.Vector" %>
<%@ taglib uri=3D" http://displaytag.sf.net " prefix=3D"display" %>
<%
Vector vect =3D new Vector();
request.setAttribute( "test", vect );
%>
<display:table name=3D"test" />
WEB.XML
<taglib>
<taglib-uri>http://displaytag.sf.net</taglib-uri>
<taglib-location>/WEB-INF/displaytag- 12.tld</taglib-location>
</taglib>

