Why does the import attribute of page directive does not work for <
jsp:useBean>
I was importing a class using
<%@ page import = "beans.Person" %>
so I guessed i'd only have to do
<jsp:useBean id="person" class="Person" scope="request" />
but it gave me an error. I had to use the fully qualified name in the class property of <jsp:useBean> tag
<jsp:useBean id="person" class="beans.Person" scope="request" />
Why doesn't the page directive work here?