JSP

The following JSP code was needed to implement this. See "showlog.jsp" in the ShowLog directory. Essentially, it contains the following code:

<%@ page contentType="text/html" %>
<%@ taglib uri="/WEB-INF/itp.tld" prefix="itp" %>
<html>
<head>
	<meta http-equiv="Content-Type"
        content="text/html; charset=ISO-8859-1">
	<title>Show Log</title>
</head>
<body>
	<pre><itp:ServerCall
       name="showlog" type="online" value="info" /></pre>
</body>
</html>

This JSP page uses the "ServerCall" tag to invoke the ITP/Server service "showlog". This service (explained below) returns the log information of the Document Processor that executes the request.

While executing the JSP page, the entire "ServerCall" tag will be replaced by the log data. The resulting HTML page will enclose this data between <pre> tags, e.g:

<html>
<head>
</head>

<body>
	<pre> 11:22:58.890[0] Main thread: ITP/Document Processor 3.2 (Build: Dec 15 2005 13:46:19)
11:22:58.890[0] Main thread: Running with host\itpowner privileges
11:22:58.921[3] Main thread: Temporary files are stored in …
11:22:58.921[3] Main thread: Window station is Service-0x0-2 …