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


Paul Copeland <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]




--- Comment #3 from Paul Copeland <[EMAIL PROTECTED]>  2008-05-27 11:10:26 PST 
---
I found a workaround that does not use reflection in this part of the
application.

The suggested solution requires that you already know the class implements the
HttpServletRequest interface, in which case there is no point in using
reflection to invoke the method. The example code was just to demonstrate the
problem with the simplest case - the problem occurred in a generic reflection
routine. Theoretically you might be able to check all the interfaces
implemented and find one that allows you to invoke the target method. In
practice that might be a performance issue.

Just some guesses - Is the wrapper attempting to handle the case of forwarding
to another context which is optionally allowed if the container supports it? 
Hopefully this problem does not occur in filter chains but I have not tried
that.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to