Corrected an error in NewPost.jsp. Now the new post can be created.