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

Installing Filters

From: CAMERON, CRAIG <CRAIG.CAMERON1@corpmail.telstra.com.au>
Date: Fri, 14 Jan 2000 11:37:33 +1100
Message-ID: <E35F2AA0A195D311838D00508B02D3B472223D@NTMSG0130>
To: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
I've made minor changes to HeaderFilter.java:
	public class CCPPFilter extends ResourceFilter {..
	try {
	    c = Class.forName("org.w3c.jigsaw.filters.CCPPFilter");
	} catch (Exception ex) {

ie effectively renamed the filter to test if I could work out how to add in
a filter.  I couldn't.

1)Compiled & placed CCPPFilter.class into Jigsaw.zip (no compression) with
correct path
	-> didn't show up as option in jigadmin
2)Modified w3c.www.protocol.http.filters=w3c.www.jigsaw.filters.CCPPFilter
	-> crashed server on startup:
		Error initializing prop filters:
		Couldn't initialize[org.w3c.jigsaw.filters.CCPPFilter]: null
3)Wondered why adding HeaderFilter in jigadmin didn't change server config
4)Reread ResourceFilter tutorial: wondered why when adding frame, CCPPFilter
doesn't show up.

Please help :-)

> > I actually need to modify the source code so that as 
> requests pass through
> > the proxy, extra headers are added..so is the updated 
> uncompiled source
> > availible too?
> There HeaderFilter is there just to do that, but you can of 
> course add new
> filters, see
> http://www.w3.org/Jigsaw/Doc/Programmer/writing-filters.html
Received on Thursday, 13 January 2000 19:39:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:28 UTC