fixed null pointer bugs in JSPs;fixed variouse datasote bugs