Running a process from a servlet
Note to self: This may help you in running moblogger from a servlet:
Process p = Runtime.getRuntime().exec("/bin/chmod 700 /path/to/myfile");
I found this nugget on the tomcat-user mailing list - and I'm assuming it can be used to run any command-line process.
Posted by Nobu on May 06, 2003 at 07:25 AM MDT #
Posted by Guus on May 06, 2003 at 08:46 AM MDT #