By dkhaywood
via danhaywood.com
Submitted: Feb 10 2012 / 17:29
Here’s a nice little gotcha for ya! A fairly common pattern is to use a filter that wraps the (Http)ServletRequest and (Http)ServletResponse in an app-specific wrapper. That enables other filters and servlets can downcast to get at app-specific stuff. Except... you can't always do this.
Tweet
SaveShareSend
Tags: frameworks, how-to, java, web design



Add your comment