| Author |
getAssociatedStylesheets failed
|
Andrew Leer
Ranch Hand
Joined: Nov 11, 2003
Posts: 44
|
|
I'm doing a tutorial on Dev Shed on the basics of Transformation. All of the examples in the tutorial worked except for the last one that uses a JSP page to transform a stylesheet. I'm using Tomcat 4.0.6 that comes with net beans. The error that I'm getting is: javax.xml.transform.TransformerConfigurationException: getAssociatedStylesheets failed The JSP page is supposed to get the location of the XSL Transformation stylesheet from the XML file on a line like.... <?xml-stylesheet type="text/xsl" href="./addresses.xsl"?> in the XML file. I don't understand what is causing it, except that maybe the directory it is searching for the xsl file is not the right one? I don't know. I've tried absolute paths and everything. Anyway here are the files, the class is contained in /mywebapp/WEB-INF/Classes and the JSP is contained in the same directory as the XML and XSL files. The XML file.... ------------------------------------------------------- The XSL file ---------------------------------- The JSP File -------------------------------------- And last but not least...The Class file from WEB-INF/classes Thanks in advance,
|
 |
 |
|
|
subject: getAssociatedStylesheets failed
|
|
|