You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/09/16 18:06:55 UTC

[Bug 55561] Wrong _jspService implementation

https://issues.apache.org/bugzilla/show_bug.cgi?id=55561

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
"request", "response" etc. are provided by container, per chapter "JSP.1.8.3
Implicit Objects". You should not change the values of those.

Trying to replace a "request" is short-sighted. You are overriding one place,
but the same object is available through other APIs, e.g.
PageContext.getRequest().

If you want to wrap a request, configure a Filter.

For a record, this change in Jasper was implemented in r1058102.

> at page 271 I've found than the method signature must be :

I do not see the fragment that you are citing at that page. I see it in chapter
"JSP.9.1.3 Implementation Flexibility" page "1-194" (232 of 594).

I read the code in that chapter as non-normative. It explicitly says "An
implementation may implement things differently".

-- 
You are receiving this mail because:
You are the assignee for the bug.

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