Base utilities for java web applications