Unable to find environment attributes in tomcat application
peter.schober at univie.ac.at
Wed Sep 19 08:12:22 EDT 2018
* Peter Schober <peter.schober at univie.ac.at> [2018-09-19 13:50]:
> * ofaklintrafo <ofa at klintra.fo> [2018-09-19 09:08]:
> > At least I get an empty list when I on the java-side call
> > request.getAttributeNames().
> That's the problem. The archives should have several threads about
> this shortcoming in either the relevant APIs or their implementation.
> I.e., the request attributes will be there if you ask for them by
> name, but they don't appear when using that (or simlar) API calls,
Eight years ago I could reproduce that same behaviour:
and Etienne was able to track this down a bit later to a Tomcat issue:
The Javadocs for current Tomcat releases (incl 8.5 and 9.0) seem to be
unchanged in this regard, so the issue still exists in Tomcat but
apparently there's no intention do fix it.
More information about the users