On Wed, Jul 16, 2008 at 3:01 AM, Anazys - Apache <[EMAIL PROTECTED]> wrote: > Thanks for your answer. I already try this but when I write this script, I > don't know how to handle the loop with stdin (in the shell script or in the > java file ?) : > I try this in the shell : > #!/bin/sh > while read text > do > java -classpath /path/to/java/class/ MainClass > done
Your java class should read from stdin. -- Eric Covener [EMAIL PROTECTED] --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]