My Spring application context configuration file contains a reference to the DTD at "http://www.springframework.org/dtd/spring-beans.dtd". This means that my application system has runtime dependency on the reachability of the particular web site. In other words, my system fails to start if the dtd file/web site is not reachable.
This dependency is fine for sample applications but not for my production system. What is the recommended way of working around this issue? Is there a way to turn off DTD validation as Spring framework reads them in?
Thanks for help.
/Jong


Reply With Quote