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
- Secure JSON Services with Play Scala and SecureSocial
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward
Posted by Nobu on May 06, 2003 at 01:25 AM MDT #
Posted by Guus on May 06, 2003 at 02:46 AM MDT #