Hi,
I am trying to use a custom class in a .jsp page, as part of a course I am taking on Web Technologies.
The original version of the
jsp page was working fine, until I moved part of the
Java code to a separate class.
Here is the original .jsp code that is working:
Here is the Java class I created:
And here is the .jsp page after I replaced part of the code with the Java class:
Here is the error message I get:
Finally, I attach a screenshot of my file manager, to show that I did save the class under the appropriate folder: ROOT/WEB-INF/classes/com/stocktails/DbConnect.class