W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1997

spawning dialup script

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Mon, 13 Jan 1997 08:57:10 +0100 (MET)
Message-Id: <199701130757.IAA26319@www43.inria.fr>
To: Rolande Kendal <kendal@interlog.com>
Cc: www-jigsaw@www10.w3.org

The best way to do this would be to write a (client-side) filter. The
guideline is to subclass the w3c.www.protocol.http.PropRequestFilter,
and in its ingoingFilter method, put your code.

Let me know if you need more help,
Anselm.

Rolande Kendal writes:
 > I would like to execute a command-line dialup script when Jigsaw (running
 > as a proxy)
 > has a request for a document, but does not have an active Internet connection.
 > 
 > Just the following would suffice:
 > 
 > Process p = new Process( "c:\\scripts\\rasdial.cmd");
 > while( ! connected )
 > { 
 >   sleep(1000);
 > }
 > ...now go on to proxy the request
 > 
 > I'm not familiar with the Jigsaw source.
 > Could someone inform me of an appropriate place to patch this code in.
 > 
 > Rolande Kendal
 > 
 > 
Received on Monday, 13 January 1997 02:59:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT