Works well Dinesh. That's a good opportunity to update the title and the description of this rule.
Title: Some java packages/classes should not be used in JSP files
Description : This rule allows to prevent the import of some java packages/classes into JSP files based on a configurable exclusion list.
The following code snippet illustrates this rule when the exclusion list is 'sql,ArrayList':
<%@ page import="java.util.ArrayList" %> <!-- Non-compliant -->
<%@ page import="java.io.*" %> <!-- Compliant -->
<%@ page import="java.sql.*" %> <!-- Non-compliant -->