webDemo: update codes to servlet init params