Id generator for blogpostDAO and started working with addpost.jsp.