JSP
import
An import is the attribute of the page directive in JSP that imports the java packages and it's classes whenever required for the JSP page. More than one java packages and classes can also be imported by separating with comma (,). You can set the name of the class with the package name directly like packagename.classname or import all classes of the package by using packagename.*.
For example the JSP tag shown as:
<%@ page
import=?java.util.*? %>
will import all classes defined in
java.util package. You can also import a user-defined package like:
<%@ page
import=?roseindia.HelloWorld? %>
This statement will import the HelloWord
class defined in roseindia package.
Read more at