Hi,
Where can I set up the default storage folder for DTD files in Tomcat ?
Here is my problem: I'm working with a XML webservice and I need to validate the XML using a DTD (I can't changed the XML input with the file URL that is just like: "ops.dtd"). On my window dev station, tomcat is searching that ops.dtd in its /bin directory. Ok, no problem with that. Now that I'm deploying on a UNIX station, it's looking for this file in the home directory /home/.../mydtd.dtd. I could put my file in there but I'm not happy with it, as it's a FTP directory, and someone could delete it thinking it's garbage.. I would really prefer to put it in my tomcat/webapps/myApp/.../etc so its part of the deployment process and backups.
Thanks for your help,
Swazik
Where can I set up the default storage folder for DTD files in Tomcat ?
Here is my problem: I'm working with a XML webservice and I need to validate the XML using a DTD (I can't changed the XML input with the file URL that is just like: "ops.dtd"). On my window dev station, tomcat is searching that ops.dtd in its /bin directory. Ok, no problem with that. Now that I'm deploying on a UNIX station, it's looking for this file in the home directory /home/.../mydtd.dtd. I could put my file in there but I'm not happy with it, as it's a FTP directory, and someone could delete it thinking it's garbage.. I would really prefer to put it in my tomcat/webapps/myApp/.../etc so its part of the deployment process and backups.
Thanks for your help,
Swazik