W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1998

Re: help about writing filter

From: Christopher William Turner <cwturner@cycom.co.uk>
Date: Wed, 16 Dec 1998 05:24:22 -0500 (EST)
Message-ID: <367786C3.26E650A2@cycom.co.uk>
To: "wzh'163" <wzh'163@myhost.com>, "www-jigsaw@w3.org" <www-jigsaw@w3.org>

wzh'163 wrote:

> Hello
>     i hava written a file named "myDebugFilter" the same as "DebugFilter"
>     how can i use it in jigadm,please help me

I followed the instructions for configuring jigsaw as a proxy server and
found some filter properties where I could add my protocol filter class.
After some difficulties with persistence using jigadm I finally edited the
file "config/http-server.props" and appended my filter class name
"CWTDebugFilter" to the filters property. My line looks like this:-


I attach my filter in case this is useful. It captures the "POST" strings
passing through jigsaw when used as a proxy and the user is submitting a form
to a remote site.
It is less successful (but works sometimes!) at capturing the html page
contents as I don't fully understand how or when to tap into the input
streams without damaging them..
Chris Turner, http://www.cycom.co.uk/

Received on Wednesday, 16 December 1998 05:24:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:33 UTC