Use Page Directive to import a Class in JSP page. Page Directive Uses 11 Different types of Attributes , One of them is "import". Page Directive with import Attribute Allows you to Mention more than one package at the same place separated by Commas(,). Alternatively you can have multiple instances of page element each one with Different package .
For Example:
<%@ page import = "java.io.*" %>
<%@ page import = "java.io.*", "java.util.*"%>
Note : the import attribute should be placed before the element that calls the importd class .