- fix bugs about null points in the jsp pages.