• Post Reply Bookmark Topic Watch Topic
  • New Topic

Invoke an excutable file in servlets

 
Jason Wang
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, Dear everyone:
I have a question here for you. How can we invoke an excutable file in a servlets program? If possible, show me a scratch of code. Many thanks in advance.
Jason
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jason,
We can use Runtime.getRuntime().exe(...) java API.
Please check the sample code in foll. discussion.
regds
maha anna http://www.javaranch.com/ubb/Forum38/HTML/000063.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!