"Balamurali A." wrote:
>
> How do we execute the CGI program from the servlet?. what are the commands
> to execute it,

If your servlet needs the cgi to compute a value for the servlet,
execute the cgi same way a browser does: open a url connection using the
url for the cgi and pass the appropriate HTTP request. If you just want
the cgi response to be sent to the browser, send a redirect to the
browser that redirects to the cgi.

___________________________________________________________________________
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