Monday May 05, 2003
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 in Java
at May 05 2003, 05:10:11 PM MDT
2 Comments
Search This Site
Recent Entries
- Wine Tasting in Napa Valley
- How to build a Shot-Ski
- Bus Project Update
- Farewell to the 2011-2012 Ski Season
- Cruising around the Western Caribbean
- Spring Break!
- A Spectacular Trip to Stockholm and Madrid
- Comparing Web Frameworks and HTML5 with Play Scala at Jfokus 2012
- Play Framework 2.0 with Peter Hilton at Jfokus
- Secure JSON Services with Play Scala and SecureSocial
Posted by Nobu on May 06, 2003 at 01:25 AM MDT #
Posted by Guus on May 06, 2003 at 02:46 AM MDT #