sql « Bean « JSP-Servlet Q&A





1. Having trouble trying to pull the result of a Query from a Bean into a JSP    stackoverflow.com

I've figured out how to pull the username and display it in the categories.jsp but I just can't figure out how to display the result of the costQuery in the UserDAO.java ...

2. bean returning error on sql    coderanch.com

I use a bean to validate the users logins and passwords. WH hat the problem is, if the function fails durning logging in it returns an error to the browser, but the way the code is written it should not: function returning error to browser if the log in to mysql fails, why is it not trapped in the try/catch routine? ...