I'm creating large projects for web with Java, using only jsp and servlet. Not know why, but I not I liked of no framework Java. I would like of to use and create my own framework, without to use for instance, spring, struts, so on.
Using my own code, I have total control about my project. There some problem in to create large projects using only jsp and servlet ? However, I'm have problems. Let's go to my problem:
Here is my class that will to connect to database:
For to receive the info of the database, I created other class for received the info: