Various web utils in java