Example for a googleapp servlet extracted from Programming Google App