tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: a servlet-related Java question
Date Thu, 22 Apr 2010 21:53:37 GMT
2010/4/23 Christopher Schultz <chris@christopherschultz.net>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Konstantin,
>
> On 4/22/2010 4:53 PM, Konstantin Kolinko wrote:
>> 2010/4/23 Kris Schneider <kschneider@gmail.com>:
>>> On Thu, Apr 22, 2010 at 4:31 PM, Christopher Schultz
>>> <chris@christopherschultz.net> wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> On 4/22/2010 2:37 AM, Bill Barker wrote:
>>>>> If [the request/filter] 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.
>>
>> SRV.8.2 is enforced when STRICT_SERVLET_COMPLIANCE property is set to true.
>>
>> http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html#Specification
>
> $ export CATALINA_OPTS=-Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
>
> I'd love to see the code that enforces this:
>

Search for "applicationDispatcher.specViolation.request" and
"applicationDispatcher.specViolation.response" or for "SRV.8.2" in the
code.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message