On 30/06/2010 16:23, Ranjix R wrote:
Cross-posting to both lists is poor netiquette. That will not have encouraged anyone to respond. The correct form, particularly when explicitly directed to post to the users list, is to do exactly that. If it is decided that a thread has become off-topic for the users list and should be on the dev list then it can always be moved there later.
Overriding without calling super is asking for trouble unless you are sure you are taking care of all the things that the super class is handling. As I already told you in the invalid Bugzilla entry you created, you should be calling super.getAttribute()
There is nothing in the spec that says the container has to call setAttribute(). The only requirement is that these are made available via getAttribute() and they are.
Nope. The fault is in your wrapper code.
No idea. If you want to make a local change, you’ll need to do the analysis and the testing. I can tell you such a change is highly unlikely to make it into the Tomcat source code.
At a guess, to prevent applications changing request attributes they shouldn’t but I haven’t checked that is what it is actually doing.
Mark
0 Comments.