Does the JSP page have an import statement in it to import the Transactions class?

Also, best practice is to avoid using scriptlet inside the JSP, it's not nice, it clutters it and you should...