Menu
Below is a jsp I want to use in my web, but it does not work as expected.
The script can not generate a testfile.txt.
Do I need to set up anything with IE.
Does anyone can give me some ideas.
Thanks so much.
<html>
<Script>
var fso, tf;
fso = new ActiveXObject(“Scripting.FileSystemObject”);
tf = fso.CreateTextFile(“c:
tf.WriteLine(“Testing 1, 2, 3.”) ;
tf.WriteBlankLines(3) ;
tf.Write (“This is a test.”);
tf.Close();
</script>
</html>