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.
I have an application that converts XSL to PDF using FOP. This application works fine in JDK 1.4 and Tomcat5.0.
But when I moved this application into JDK1.5 and Tomcat 5.5 errors were thrown.
Initially,the error was related to serializer.jar. I heard that JDK 1.5 has inbuilt version of xalan, which requires serializer.jar. So I downloaded the serializer.jar and I had put it in lib folder of my application. Upon doing this, the error related to serializer.jar dissappeared. But a new error occured while transformation.That is few xslt and exslt functions were not working properly.
I guess these errors are due to the inbuilt xalan and xerces version in JDK1.5.
Can anyone tell me how to make JDK use the jar(xalan and xerces) files of my application rather than the inbuilt versions. I believe the version of jar files in my application is lower than the version present in JDK 1.5
I even tried putting the jar files in JDK\lib\endorsed folder. But no success.