How can I use a local DTD to validate ejb-jar.xml instead of going to SUN's server as specified in DOCTYPE element?

Alessandro A. Garbagnati

You can do this by specifying a local DTD-file in the SYSTEM property of the DOCTYPE element. Here is an example:

If your DTD was located inside a localfolder - "C:/localdtd" then your DOCTYPE element should be as follows:

<!DOCTYPE ejb-jar SYSTEM "file:C:/localdtd/ejb-jar.dtd">

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact