Aaron Kane wrote:
> I am trying to write a servlet that will execute
> a application and then give
> access to the inputs and output streams of that
> process.
[snip]
        This may not be the kind of help you were looking for, but IMHO you
shouldn't be using Java for this.  Based on what it looks like you are
doing in your source code, Expect would be a better language (esp. as
you're on a Unix platform anyway...).  You could, of course, wrapper an
Expect/Perl script in Java if you needed access to an API, but I just
don't see a good argument for using Java in this particular context
(which, I'm assuming, is simulating an interactive session).
--
The best book on programming for the layman is "Alice in Wonderland",
but that's because it's the best book on anything for the layman.

Thomas Moore
[EMAIL PROTECTED]        Home Account
Software.Engineer         [EMAIL PROTECTED]
phone://732.462.1880:268  NJ Patterns Group Home Page
employer://Celwave, RF    http://members.home.net/twmoore/cjpg

___________________________________________________________________________
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

Reply via email to