Hi,
I'm using JB3Ent + JDK1.3+MySQL3.23.
I'd like to start a Windows application from a Servlet, that would make
some database access, other processing, and return a TXT file.
I'd like something like this:
String cmd = "c:/test.bat"; // tried also "c:\test.bat" and "c:\\test.bat"
Runtime runtime = Runtime.getRuntime();
try { runtime.exec(cmd); } catch (Exception e) { e.printStackTrace(); }
but nothing occurs.
What's the problem ?
Do Servlets have a Runtime ?
The permissions to run test.bat are ok.