• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running VBScripts from servlet.

 
Thomas O'Reilly
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone. I'm having a problem running a VBscript from my servlet.
I'm getting the runtime of windows and calling "cscript" command and
passing the VBscript. This works fine in a normal java application running on
the machine but fails in the servlet. What i'm doing is getting processor load.

The first line to be returned from calling the VBscript is "Microsoft (R) Windows Script Host Version 5.8",
so it works up until then but when it gets to the data being returned it crashes. Hope I explained myself
correctly. Anybody any ideas what's going wrong? Thanks
 
Thomas O'Reilly
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind if figured it out. Wasn't telling giving the script the right address.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for posting back with your findings.
 
Thomas O'Reilly
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem. I thought there might of been a problem with VBscripts being ran on a servlet but it was human error at the end of the day.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic