working example for servlet 2.5 platform