I have seen this used in several places and I have to ask, why? Ted
Husted uses it in Scaffold and there are several examples around the
web that use it as well. What am I talking about?
consider this short code snippet
return mapping.findForward(Tokens.SUCCESS_KEY);
How is that any different than
return mapping.findForward("success");
Both are in english, one just resolves to a variable the other is
static. I guess I could understand the use of tokens for placing
keys into the request scope since you might one day find you have a
conflict, but besides that, what is the purpose?
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
umm... i guess this is my signature. 8-}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]