I have a jsp page which has post comment box. I have written a servlet which takes a comment from the text area for the comment box and writes the comment to the database and redirects all the comments stored in the database to the page for display(using request dispatcher). The new comment displays along with all the previous comments. I want to have a functionality where the previous comments are displayed on page load by connecting it to the database . How can I accomplish this.
rohit_static 0 Newbie Poster
Philippe.Lahaie 42 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.