Results 1 to 1 of 1
Thread: help with x:transform
- 08-10-2009, 07:42 PM #1
Member
- Join Date
- Aug 2009
- Posts
- 1
- Rep Power
- 0
help with x:transform
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}" />
Similar Threads
-
Hough transform...........
By Mazharul in forum Java 2DReplies: 1Last Post: 01-21-2009, 11:43 PM -
Transform Translated Rotation
By Java Tip in forum java.awtReplies: 0Last Post: 06-22-2008, 10:58 PM -
Transform Scale
By Java Tip in forum java.awtReplies: 0Last Post: 06-21-2008, 08:53 PM -
Transform Shear
By Java Tip in forum java.awtReplies: 0Last Post: 06-21-2008, 08:52 PM -
Transform Demo
By Java Tip in forum java.awtReplies: 0Last Post: 06-21-2008, 08:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks