Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[OT] Re: Interceptor + putting information on the request

Dave Newton

2007-03-07

Replies:

--- Matt Filion <mfilion@(protected):
> I really suggst you dont make the ActionContext
> final. Because the context changes for each request
> (its mutable) and making it final is a misleading
> statement.

Making local parameters that will not change 'final'
is a reasonably typical coding practice and may help
prevent stupid PEBKAC problems. I don't think making a
local variable 'final' will confuse anybody.

d.




____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.