servlet data retrieval improvement and also som typo's correction