dawdle duckling from forward-port of rr1538332
+ lessons learnt from tiles-3.0.2


git-svn-id: https://svn.apache.org/repos/asf/tiles/request/trunk@1538387 13f79535-47bb-0310-9956-ffa450edef68