I'm trying to run a very simple JSP that gives a rather large volume of
output. It loads the first time but fails the second time.(was doing some
performance comparisons). The same JSP works fine with ServletExec. Any help
will be appreciated.


I've attached the JSP below:-

<%@page language="java" import="java.util.* %>
<HTML>
<BODY>
<%

Date st=new Date();
StringBuffer fullString=new StringBuffer();
for (int i=0;i<10000;i++){
   out.println("Some string concatenation blah blah blah "+i+"<BR>");
}
Date end=new Date();
out.println("Time elapsed :"+(end.getTime()-st.getTime()));
%>
</BODY>
</HTML>



Reply via email to