
How use import attribute of page directive ?

The import attribute is used to import all the classes in a java package into the current JSP page. If there are many Java packages that the JSP page wants to import, the programmer can use import more than once in a JSP page or separate the Java packages with commas.
Syntax :
<%@ page import="{package.class | package.*}, ..." %>
<%@ page import = "java.util.*,roseindia.*" %>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.