tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <>
Subject Re: cgi-bin
Date Tue, 05 Dec 2000 14:49:14 GMT

Pierre Roy wrote:
> I have installed a Web search engine (namely Subject Search Server v1.1).
> This software directs search requests to
> http://localhost:8080/cgi-bin/SSServer.exe
> Therefore there is no .class nor .jsp file to be accessed !

If I understand you correctly, you want to be able to access
that SSServer.exe program functions from a servlet or JSP.
The way to do that is with the exec method in the java.lang.Runtime
class. This method lets you set up environment parameters
and streams to simulate the way CGI processes work.

Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

View raw message