grid size servlet