Referring to a local DTD in Java

前端 未结 4 570
借酒劲吻你
借酒劲吻你 2021-01-04 20:15

I have some XML that I\'m parsing with a SAX parser in Java. It starts with this preamble:



        
4条回答
  •  滥情空心
    2021-01-04 20:39

    When dealing with Web Apps, you can put the dtd in the lib folder and refer to it like:

    
    

提交回复
热议问题