Create the business logic in the Java class and you can use the objects of the class to call the respective methods. But inorder to do so you will have to import the java classes to your jsp.
This is done by <% @page import = « » %>
<%@ page import = »MyPackageName.*,SomeOtherpackageinmyapp.* »%>