Tag Archives: Groovy

Executing Operating System Commands From Java

See my other post Piping Between Processes for piping data between two or more processes. There are two ways to start an operating system process within Java: JavaDoc for java.lang.Runtime#exec(java.lang.String), available since Java 1 JavaDoc for java.lang.ProcessBuilder, available since Java … Continue reading

Posted in Software Development | Tagged | Comments Off on Executing Operating System Commands From Java

GrOOovy — How To Use OpenOffice From Groovy In 32 Lines…

… including documentation and demonstration of various ways to do the same thing. I wrote some Groovy categories to aid development with OpenOffice and its Universal Network Objects — UNO. These categories allow to open an OpenOffice document through java.io.File, … Continue reading

Posted in Odisee, Software Development | Tagged | Comments Off on GrOOovy — How To Use OpenOffice From Groovy In 32 Lines…

HTTP 503 While Parsing XML

When you encounter a HTTP 503 error while parsing XML, you might come across the W3C wants to reduce its traffic. java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313) See W3C Team Blog for detailed information. … Continue reading

Posted in Software Development | Tagged , , | Comments Off on HTTP 503 While Parsing XML