On Thu, Apr 22, 2010 at 3:40 PM, Christopher Schultz <ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Bill, > > On 4/22/2010 2:37 AM, Bill Barker wrote: >>> It's pretty inaccessible for novice Java programmers, but you could use >>> the "proxy" API which is [just] about the coolest thing available in >>> Java IMO. >> >> If it does a forward or include done the line, this won't work with any >> remotely recent version of Tomcat. These versions enforce the spec >> requirement that the Request has to be a subclass of HttpServletWrapper >> wrapping the original request, or the original request. > > How does Tomcat enforce that? HttpServletRequestWrapper doesn't expose > the underlying request.
...but ServletRequestWrapper does > I must admit that I didn't try it. I should. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkvQpjMACgkQ9CaO5/Lv0PDioACfXvCsWsL6dPHDsegCEqCx0ISZ > oF8Anj+PpzWrSWN9I6BWru0urmdLaWLg > =qt08 > -----END PGP SIGNATURE----- -- Kris Schneider --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org