A servlet that redirects "/$[~]name/foo" to "/foo".
This can be used to a bounce a leaf-level request back to
the root-level, assuming that the request is (logically) for
the root-level. This is very handy when the client doesn't
know which server the leaf happens to be located at and wants
to rely upon redirects. In other words, if leaf "X" is
configured to bounce "/foo" back to the root, it allows the
user to easily phrase:
"Wherever /$[~]name happens to be right now,
invoke /foo to its root"
Note that the root shouldn't bounce this back to the leaf,
otherwise it's a loop!
|