Actually, <%@ page import=”java.util.List” import=”java.util.ArrayList” %> is considered "technically correct". I found this out when I was doing Enthuware tests. See the explanation below:
"Technically, an import attribute can occur multiple times in a page. It is clear that it is valid to have multiple page directives with import attribute. However, it is not clear from the specification whether import attribute can occur multiple times within the same page directive. Ideally, specifying the same attribute twice in the same directive should cause translation error. However, some containers are forgiving and accept it as valid.
Here is an old bug report for Tomcat that you might find interesting :
https://issues.apache.org/bugzilla/show_bug.cgi?id=4022"
The above is quoted from Enthuware.