Refactoring PratilipiMain servlet.