JSP Basics: Import a Java Class for Use in a JSP
Importing Java classes enables the use of that class without using the fully qualified class name. Java classes can also be imported into JSPs with page directives.
To import the Java class java.util.Calendar for use in a JSP, use one of the following:
<[email protected] import="java.util.Calendar"%>
Follow the reactions below and share your own thoughts.