I like to make the decision based on intent. If the intent is to
scope something to a thread, use a DynamicVariable. If the intent is
to scope something to a request, use a request attribute. These
scopes work out to be the same in the standard servlet model, but
barring major performance implications (I've seen none), it's best to
just say what you mean. For me, that's usually a request attribute.
--
Ross A. Baker
ba...@alumni.indiana.edu
Indianapolis, IN, USA