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.
i am trying to render the result set from the servlet to the jsp page to view the feedback stored in the DB but when i am clicking on the view feedback link a blank page gets opened and the url shows the name of the servlet... i have used thee same logic to rendered many tables and it worked but this time its not working and no exception is thrown by the compiler as well... kindly help me ASAP
I don't understand what you mean by there is no compiler error. Do you mean there is no exception in the server logs?
How are you passing the data to the JSP page? In a bean?
Please post your code so that we get a better understanding of the problem.
A blank page is almost always the result of an exception being thrown. Check the logs.
And if you are passing a resultset to a JSP page, you're definitely doing it wrong. Resultsets should be read and closed as quickly as possible, storing the data in normal Java collections and beans. That is what should be passed to a JSP.
Please check before the result set is rendered there is a chance you might have closed the statement and connection objects unknowingly.
Also I agree to Bear Bibeault that you should not share the result set over the components, better approach is prepare beans and load the result set in to beans and then share those beans across components.