|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
XML & Web services
XML & Web services
XML & Web services
|
Messages: 0
Messages: 0
Messages: 0
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
Using xml catalog to resolve URIs - failing in web project
Hi, I am developing a project which transforms xhtml data into xml with an xsl stylesheet. I am using the JAXP api, and keep getting exceptions on the call to the Tranformer.transform method. These exceptions are being thrown because the DTD access request is being denied (HTTP 503 error). I have thus altered the code so that it makes use of an Entity resolver to point to an oasis.xml catalog file which resolves the URI, pointing at our locally cached DTD files. The problem is that I keep getting the warning that the CatalogManager.properties file cannot be found, and then resolution fails. I am aware that this file needs to be placed on the classpath and have managed to get it working in a standard Java project but I cannot seem to get this to work within my web project because I am not sure where this file should be placed. I have tried various options including placing it in a resources folder and referencing that folder by adding it to the project libraries, or placing it in the default package where it appears in the top level of the /web-inf/classes folder - all to no avail. The message is always ‘cannot find CatalogManager.properties’. Has anybody come across this same problem? I am using netbeans 6.5 and deploying to Glassfish V2
|
|
 |
Hot threads
Hot threads
Hot threads
|
More hot threads
More hot threads
More hot threads
|
 |
Brian Goetz continues to lift the lid and peak into the inner workings of Java in Java Urban Performance Legends. In this article he exposes the fallacy behind some of the more common performance myths found in the annals of the JVM.
(93 comments,
last posted
February 06, 2009)
Bruce Tate, author of Better, Faster Lighter Java and Bitter EJB has come out with a new book called Beyond Java. Bruce has an epiphany about the future of software development. Does it include Java?
(770 comments,
last posted
September 23, 2009)
Looks like today AJAX concept have several interpretations. We can distinguish different approaches of AJAX integration. Can they co-exist within the same application? Can we talk about layered AJAX integration?
(68 comments,
last posted
May 08, 2008)
Artima has published a short article describing the Design-Time API for JavaBeans, which was recently approved as JSR 273. This API promises to bring VB-like ease to Java development, but may face a cultural bias among Java developers who tend to think more in terms of class libraries than components.
(225 comments,
last posted
November 19, 2009)
There is plenty of speculation today regarding a potential buyout of Sun Microsystems by Scott McNealy and Silver Lake Partners. How would privatization of Sun affect Java?
(16 comments,
last posted
May 15, 2009)
More hot threads »
|
|