I have some code in databaseAccess.java file and I want to reference it by calling it from a jsp file.

In my jsp file, I have:

databaseAccess db = new databaseAccess();

But it gives me a HTTP 500 error report. It says: cannot find symbol
symbol : class databaseAccess

Do I need to "reference" the databaseAccess.java in my jsp file? How should I do it?