tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <kschnei...@gmail.com>
Subject Re: a servlet-related Java question
Date Thu, 22 Apr 2010 20:17:14 GMT
On Thu, Apr 22, 2010 at 3:40 PM, Christopher Schultz
<chris@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message