Could anyone please tell me why the below JSP page writes to the display vs. the Stream Result location?

<%@ taglib ...%>
<%@ taglib ..." %>
<%@ page import="javax.xml.transform.*" %>
<%@ page import="java.io.*" %>
<%@ page import="javax.xml.transform.stream.*" %>


<%
FileWriter outFile = null;
StreamResult xmlStream = null;
try
{
outFile = new FileWriter("my path");
xmlStream = new StreamResult(outFile);
}
catch (IOException e)
{
System.out.println("Error Creating The Log File");
System.exit(-1);
}
finally
{
if (outFile != null)
{
try { outFile.close(); } catch (Exception e){ }
}
}

%>

<c:import var="xml" url="${sessionScope.xmlFile}" />
<c:import var="xslt" url="${sessionScope.homerXlateFile}" />
<x:transform xml="${xml}" xslt="${xslt}" result="${xmlStream}" />