This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi all, We used external references of .dtd files in .tld files. The external references are like java.sun.com, or jarkata site. It's not a good practice. I know that we can point those .dtd files to our internal site. But I'm just wondering if there is a way to config this so that .dtd files are not necessary. Thanks, Jenny
According to Jakarta, "You will need to explicitly reference the external DOCTYPE because of a recent change to call the validating parser" Of course, you can always copy the files and reference them locally as you are doing. I don't understand why "it's not a good practice" unless you are afraid of the sun.com server crashing. You can probably leave out the "external" reference from your DOCTYPE if .dtds are just waaaaaay too inconvenient :roll: but that whole validating parser dealio that Jakarta talks about might be pretty important. I think it would not be a good practice to leave them out of the picture.