This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Context.xml I put the context.xml in the C:\Users\Bio\.netbeans\6.9\apache-tomcat-6.0.26_base\conf folder.
ProfileController.java In ProfileController.java, I open and close the Database Connection once.
The first connection I use it to retrieve the profile information in line 83.
The second connection I use it to retrieve the user's profile comments in line 99