DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31299>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31299

Refactor RequestUtils to allow subclassing





------- Additional Comments From [EMAIL PROTECTED]  2004-10-06 17:05 -------
This implementation follows the TilesUtil strategy, which allows you to call a 
static method #setRequestUtils(RequestUtilsImpl) to set your implementation 
class.  This carries with it the limitation that the original RequestUtils will 
only be overridden after that method call, which could be after some 
RequestUtils calls by ActionServlet.  Another way to do it would be by a 
servlet init parameter which tells ActionServlet what RequestUtils 
implementation to use.  
I think whatever decision Struts goes with is going to be preceeded by a 
discussion on the dev list, and if that time comes, this patch could just be a 
footnote. My main objective in opening this enhancement request was just to 
make sure the idea was documented in the proper place, because prior to this 
ticket, the only hint that the idea had been considered was in dev mail 
archives.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to