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 01:25 AM MDT #
Posted by Guus on May 06, 2003 at 02:46 AM MDT #