On Wed, September 14, 2005 2:37 pm, Max Cooper said: > Two notes: > > 1. Be careful when modifying ActionForwards to make sure that you aren't > modifying the shared, system-wide instance. That can be a nasty side > effect. You can make a copy of the ActionForward object, change it, and > return the copy from your Action.execute() method to get around this > issue.
Actually, IIRC, you can't do this by default anyway, not without playing some games... I beleive all the ForwardConfigs are frozen and so don't allow direct updates unless you copy one. > 2. Servlet Filters and HttpRequestWrappers do provide a means to mess > with the request parameters (since you can override getParameter()). > However, I doubt that is useful in this context. Indeed. Ron and I actually mentioned that off-list. It's a good point to make for others though. Frank --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]