I want to call a batch file ....so as to delete the cache file.
can you tell the way of calling a batch file.
cheers
Syed
-
How to call a Batch file from the JSP page ? (1 messages)
- Posted by: Syed Imthias Basha
- Posted on: January 29 2001 11:29 EST
Threaded Messages (1)
- How to call a Batch file from the JSP page ? by Srini gams on January 29 2001 19:19 EST
-
How to call a Batch file from the JSP page ?[ Go to top ]
- Posted by: Srini gams
- Posted on: January 29 2001 19:19 EST
- in response to Syed Imthias Basha
First you have to get Runtime object by calling getRuntime() method on Runtime class and after that call exec(String urbatchfilename). It will create a separate process and from there you can control it. Hope it will help you.
/Gamini