Matthias Kerkhoff wrote:

> Is an ActionMapping, once registered in ActionMappings, assumed to
> be constant ? Especially, is it ok (or isn't it?), if getUnknown()
> returns different values over the lifetime of an ActionMapping
> instance ?
>

An individual ActionMapping is *not* assumed to return the same values every
time.  The ActionMappings collection itself is the cache, so the mapping
elements are queried any time their value is needed.

The same thing goes for the ActionMappings object itself -- the value returned
by getUnknown() can change dynamically if you wish to vary the choice of
destination action.

Unfortunately, however, you do not have much context on which to base that
decision, since getUnknown() takes no arguments.  Would it be useful to pass in
the request currently being processed?

>
> Thanks...
> --
> Matthias                          mailto:[EMAIL PROTECTED]

Craig


Reply via email to