This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, i'm using Tomcat 4.0 as service on Windows 2000 Professional, JDK 1.4.0 and xalan, and I have this piece of code: org.apache.xalan.serialize.Serializer serializer = org.apache.xalan.serialize.SerializerFactory.getSerializer (org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties("html"));
I have not problem for compilation, but when i run my application I have this error: java.io.FileNotFoundException: C:\WINNT\SYSTEM32\HTMLEntities.res (The system cannot find the file specified) Why my application search HTMLEntities.res under C:\WINNT\SYSTEM32??? In my rt.jar, where i have classes org.apache.xalan.serialize, there is HTMLEntities.res file!!! Why this is not used and java serach this file under C:\WINNT\SYSTEM32??? When I used Tomcat not as service, but I restart him with TOMCAT_HOME/bin/startup command, Java search HTMLEntities.res file under TOMCAT_HOME/bin .... somebody have any idea? My version of xalan.jar doesn't contain org.apache.xalan.serialize classes. I must use this version of xalan.jar because i must use org.apache.xalan.xslt, that in "normal" xalan.jar there aren't. Thanks in advance, MaX