Cool - you answered one of my confusions. Progress is a nice change
Within my servlet, I generate the xml and using Transformer, I merge the xml with my xsl and put it in the response.
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println(build.transformToHTML());
protected String transformToHTML() {
StringWriter sw = new StringWriter();
StreamResult result = new StreamResult(sw);
StreamSource streamSource = new StreamSource(xslFilePath);
TransformerFactory transFact = TransformerFactory.newInstance();
Transformer transform = transFact.newTransformer(streamSource);
transform.transform(source, result);
return sw.toString();
}
Then I forward to the page I currently have open and everything displays nicely. My problem is that I need the current page to stay displaying as it is and a new window to pop open showing the html created by the above process.
Does that help? And thanks again!
-Chris