This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
We struck up in a bizarre struts related problem. To begin with , We are migrating a framwork (which uses struts as underlying framework) .While doing the migration impact analysis , we found that we have to migrate from struts 1.0 to struts 1.2 . we did take necessary steps to perform the migration For example - specifying message resource in struts.config instead of web.xml (Please note that Previously struts 1.0 mandates that message resources be specfied in web.xml. This functionality was deprecated in struts1.1 and removed in struts1.2).
Here is code snippet of struts-config.xml , which we are using in our application
Interestingly the above struts-config was working on my colleague's work station even though we did not conform with struts 1.2 dtd pattern . However when we posted the code in repository & again retook the code from repository on different work station & tried to run it . We ended up getting following error :
I realized the dtd issue & fixed up by harding coding the path of DTD in following manner :
But still the same error is resurfacing . Any help would be highly appreciated !! I am running out of any further thoughts after seeing bizarre behavior of struts-config (i.e. one work station it is working without conforming to struts 1.2 dtd how ever on other system it is not working even though we are referring to correct dtd )