fixing the class/form issue in addpost.jsp