- From: Anselm Baird_Smith <abaird@www43.inria.fr>
- Date: Mon, 13 Jan 1997 08:57:10 +0100 (MET)
- 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 UTC