hi.
   
  i have this _javascript which writes a file into a specified directory. it 
works well outside the tomcat 5.x server. (Put the code in a htmll file, view 
it with IE then the code works). however, if i transfer the code to the tomcat 
server, i get an error "server doesnt support automation of object" what error 
is this??? how can i fix it??? here's my code:
   
  <script language="javascript">
    function CreateFile(path,text){
  var fso;
  var tf;
  fso = new ActiveXObject(Scripting.FileSystemObject);
  tf = fso.CreateTextFile(path,true)
  tf.WriteLine("Scheundt");
  }
  </script>
   
  hope i can find some solution...
   
  thanks
   
  salamat



                
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

Reply via email to