<%@ page import="java.util.*,org.jdom.output.*"%> <% int sec = 8; String s = request.getParameter("s"); if (s != null) { sec = Integer.parseInt(s); } int msec = sec * 1000; try { Thread.sleep(msec); } catch (Exception e) { out.println("
Caught exception
"); out.flush(); } out.println("
done
"); out.flush(); /* X_LZ_COPYRIGHT_BEGIN *************************************************** * Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. * * Use is subject to license terms. * * X_LZ_COPYRIGHT_END ****************************************************** */ %>