Jay Macarty wrote:
>
> I have a servlet which needs to interact with another application. The
> problem is that the application normally works from commands entered at a
> DOS prompt window. I need to be able to invoke the command and trap the
> output. I think I have seen this done before but can't remember where.
>
try the exec(String Args[]) from the java.lang.Runtime class
--
Sven E. van 't Veer, llm.
Departamento de Desenvolvimento
Brasil Informatica.
http://www.brvip.com.br
___________________________________________________________________________
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