How can i specify where tomcat writes my file? You see I have a code that writes String in to a file.
Lets say my filename is TestWrite so, the comp filename is TestWrite.xml. This file gets written on the root tomcat directory (c:\tomcat_dir). I want to write this file relative to its directory in the webapps directory.