1. Using JSTL x:transform throws a NPE coderanch.com |
2. help with x:transform java-forums.orgCould 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 ... |