This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
dis print.java will display all the content of the table post_text. in a link form in a java server page
now clicking any of the link will take me to another jsp page where all other details will also come along .
Welcome to CodeRanch! I fixed the code tags to make the post look better.
I'm not sure if the code posted below goes with the first jsp or the "next jsp." Regardless there are two techniquies:
1) Pass the data through URL parameters. This works if it is short/non sensitive.
2) Pass just the key through URL parameters and look up the rest form the database.
Also, you might consider using a different book/tutorial. Having scriptlets and database lookup in a JSP has been considered poor practice for many years. Sarch for MVC for a better approach.