Hello All,
What is the "standard convention" for querying a database and then displaying the data? Currently, I have a JSP page which contains a simple form that submits the search criteria to a servlet. The servlet then (which has a doPost() method and a query_db() method) simply connects to the database and pulls the related records. I can get it to work - that's not the problem.
My question is - what is the "protocol"? The way I am doing it has some downfalls - when I want to display my results, I'm forced to do so through a series of out.println statements. I realize that using JSP is a better method because it is much easier to code the presentation, but I'm just not sure how to do it.
Any feedback on how everyone else does it?
Thanks!!