[thelist] JSP - Execute a perl script like you would with an SSI exec call?

deke web at master.gen.in.us
Fri Mar 9 21:21:20 CST 2001

On 9 Mar 2001, at 15:57, Mark Gregor wrote:

> We have this great poll script written in Perl.  The original home for 
> the script was on a Linux box, but the script has now been ported 
> to NT (still in Perl) for use on a site we're building that is entirely 
> JSP based.

> In it's previous life, the script itself was called from an HTML page 
> using an SSI exec, like this <!--#exec cgi="/cgi-bin/polls.cgi"--> This 
> would cause the poll to appear in whatever page the SSI exec call 
> was placed in.  However, we're no longer using standard SSIs.
> Is there any way to call this cgi script from a JSP page in a similar way?  

<IFRAME src="/cgi-bin/polls.cgi">

You can also embed it with the <OBJECT> tag, but the only popular
browsers that support <OBJECT> well are Netscape/6 and WebTV,
which have a combined browser share of maybe 5-8%.


I got this powdered water. 
Now I don't know what to add. 
            -- Steven Wright

More information about the thelist mailing list