ファイル システムから .txt ファイルを取得し、1 行ずつ表示する必要がある JSP を作成しましたが、何らかの理由で表示されません。よろしくお願いします。
<html>
<head>
<title>DrAssist Reporting Tool</title>
</head>
<body>
<p>Welcome to the DrAssist Reporting Tool</p>
<p>Suite Report Information</p>
<h1>Suite : ${suite}</h1>
<h1>NoOfTests:${noOfTests}</h1>
<h1>Test Name:${TestName}</h1>
<h1>FitnesseRestURL:${FitnesseRestURL}</h1>
<h1>Rights:${rights}</h1>
<h1>Wrongs:${wrongs}</h1>
<h1>Ignores:${ignores}</h1>
<h1>Exceptions:${exceptions}</h1>
<h1>TimeinMilliseconds:${timeOfExecution}</h1>
<%@ include file="Test1.html" %>
<%@ page language="java" import="java.net.Authenticator,java.net.PasswordAuthentication,java.io.BufferedReader,java.net.*,java.io.*" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%
BufferedReader input = new BufferedReader(new FileReader("C:\\DrAssistQA\\reports\\120703-100125\\log-120703-100125.txt"));
String line = "";
while ((line = input.readLine()) != null) {
System.out.println(line);
}
out.flush();
input.close();
%>
<%=line%>
</body>
</html>