hi
In a servlet I'm using Runtime object to run a a program in my system..
I use such a thing:
Process p=Runtime.getRuntime().exec("prog_name");
But this program takes input from user
so i send it like this:
PrintStream in= new PrintStream(p.getOutputStream());
in.println("input");
So what is wrong with this code?
Program can not get input from the servlet.
thanx
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html