BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 743343 thumbnail
User 101712 avatar

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.
  • 1
  • 0
  • 152
  • 31

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)