Hello,
i'm trying to access some of the xml files in my webapp directly from the flowscript for creation/deletion
i can't find a way to adress the correct directory of the servlet
i tried request:contextPath but it gives only a partial path, i also tried servletPath but it gives the uri of the calling page
what i'd like to do look like this :
var path = contextPath + "/cfm/xdocs/planning/cruise7.xml";
var file = new Packages.java.io.File( path);
if(!file.isFile()){print(file.getCanonicalPath());}Does anyone have a working example of how to get the full path of the directory where my xml files are ?
Or maybe a better idea ? ;)
Thanks for any help,
Marc
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
