I have moved the following lines of code 

 TransformerFactory tFactory = TransformerFactory.newInstance();
            Transformer transformer = tFactory.newTransformer(new
StreamSource("http://fdhdfhf.ef/project.xsl";));
            transformer.transform(new DOMSource(DOMtree), new
StreamResult(out));

from servlet class to another class that is instantiated in servlet and
the method that contains these lines is invoked. Unfortunately, no
transformation is done. When those lines were in the servlet, everything
worked, why is that?
I run servlet on Tomcat(NT ver).

Reply via email to