| Author |
getRuntime().exec() from servlet
|
Yogesh Gaikwad
Greenhorn
Joined: Feb 26, 2005
Posts: 15
|
|
|
how to use Runtime.getRuntime().exec("bat file name"); from servlet deployed on tomcat 5.0?
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
It looks like you've got it. What's got you stumped?
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
osman cinar eren
Ranch Hand
Joined: Jan 25, 2005
Posts: 78
|
|
hi you may try .exec("cmd.exe bat_file_name");
|
SCJP/SCWCD
|
 |
Jeffrey Spaulding
Ranch Hand
Joined: Jan 15, 2004
Posts: 149
|
|
Try http://www.javaalmanac.com/egs/java.lang/Exec.html http://www.javaalmanac.com/egs/java.lang/ReadFromCommand.html?l=rel J.
|
 |
 |
|
|
subject: getRuntime().exec() from servlet
|
|
|