dcsimg
How to Start a batch file from Java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Bijju_Savan
Posted On:   Wednesday, April 25, 2001 06:57 PM

JavaWebserver needs to be shutdown and restart after i use the servlet once. My Servlet gets a record from a database, second time i use that servlet it gets the same record which it got the first time. So i thought if i can call batch files from Java i would shut the server and restart the JavaWebserver using batch file.

If anyone could help please lemme know
Thanks

Re: How to Start a batch file from Java

Posted By:   Vasu_Devan  
Posted On:   Wednesday, April 25, 2001 09:37 PM

See the documentation of java.lang.Runtime.exec().
About | Sitemap | Contact