Reduced code size by using a servlet wrapper