Change Parser java to a servlet class