We are using resin 2.1.17 (yes i know we need to upgrade!) and are 
starting to implement role based access control using role declaration 
on Struts actions.

I have declared a 403 error page in web.xml and am experiencing a 
problem which I have tracked down to interaction with the gzipfilter 
because everything works beautifully with the gzipfilter disabled, but 
with the filter enabled I am getting:

Content Encoding Error

The page you are trying to view cannot be shown because it uses an 
invalid or unsupported form of compression.

in firefox and equivalent errors in other browsers.

I think that the response is being encoded twice by the time the browser 
sees it.

Has anyone come across this and figured out a way round it? 
Is it a known issue with 2.1.17 gzipfilter that is resolved in later 
versions of resin (if so what was the core issue)?
Is it something to do with the web.xml declared error page being a 
redirect that shouldn't be gzipped in the first place (just guessing here)?

Any suggestions would be welcome




Alan Wright
Athene Systems

tel 0845 230 9803

Athene Systems Limited
Registered Office:
Shieling House
Invincible Road
GU14 7QU

Registered in England and Wales No. 3156080

resin-interest mailing list

Reply via email to