Hi
I am having trouble with a line of code for a basic DOM implementation of
an xsl translation on an xml file (althought the code could also be the
same for a SAX inplementation).
OutputStream responseStream = response.getOutputStream();
Serializer serializer =
SerializerFactory.getSerializer(OutputProperties.getDefaultMethodPropert
ies("html"));
serializer.setOutputStream(responseStream);
serializer.asDOMSerializer().serialize(domResult.getNode());
The problem that I have is that the system can't find the file
HTMLEntities.res (for the default HTML settings) as it is looking in my
base servlet container directory (Tomcat). Obviously when I copy the file
there I have no problem but this isn't very elegant. I cannot seem to find
any documentation which gives me a clue . Any help would be appreciated
(apologies if this is a trivial problem).
Rob Tice
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]