-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin,
On 8/30/2009 1:50 PM, Martin Grotzke wrote: > I found the ActionHook within the coyote response, so I'd try to wrap > this and intercept the action with ActionCode.ACTION_COMMIT. > > Is this the correct approach for solving this problem? Sounds like it has a decent chance of working. Have you tried it? Doing this kind of thing is always a risky proposition, since there are lots of cases to test. > Any other thoughts on this? Two related thoughts: 1. Do you need all of the content to be generated before this header is set? If so, you'll need another strategy for 100% response buffering in order to meet your needs (say, calculating a cryptographic hash of the response content to include in a header). 2. If you don't need #1, then why do you want to delay the header setting as long as possible? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqay5wACgkQ9CaO5/Lv0PCUMQCgrJVkybrwNQY8CmWdDRnrvS2c XK0AnijgEiYnHEQtkFeGMIKErHcBciAt =HgEA -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org