Does anyone have a DNR written in java that is either reading STDIN (so I can parse later) or parsing STDIN. I tried
public class OpenDeployTest
{
private static BufferedReader stdin = new BufferedReader( new InputStreamReader( System.in ) );
...
..
..
public static void main (String[] args) {
..
..
try
{
String input = stdin.readLine();
out.print(input);
I just used psudo code.. but there were the main parts. If I change the output to be sytem.out.println... and run this from the command line whatever I enter is passed in as stdin. When I run through the dnr it's not.
i'm wondering if I need to do something other than System.in or if I need to tell it system.memory in or something...
Ideas?
David R Musser
Eye Street Software
540-542-5257
dmusser@eyestreet.com Win2k, TS 6.5 SP1, OD 6.01