I'm trying to read and display the local directory (in a tree format) using ActiveXObject("Scripting.FileSystemObject") in Tomcat. It works fine if I run the JSP page straight from my harddisk, but when I put the page in Tomcat\webapps and run it using the localhost, an error occurs: "Automation server can't create object".
I need to find out if is it possible to configure the settings for Tomcat to be able to create an active x object:
var fso = new ActiveXObject("Scripting.FileSystemObject");
because the error points to this line. My browser (IE) settings for ActiveX is enabled, therefore I don't think that is a problem neither is the anti-virus preventing the script from running.
My main concern is whether "Scripting.FileSystemObject" can be used in Tomcat (since i need to pass some values to another JSP page) and if not, are there any other solutions/suggestions (but of course, revolving around JSP & Tomcat)?
Thanks in advance!
Lab (sorry I don't have that many points to give) :)