dcsimg

Why does jsp:useBean ignore packages that are imported for the classname?

John Zukowski

The classname needs to be the complete classname (package.class), because the useBean clause gets translated to Beans.instantiate(), which uses a String to load the bean. The import statement is effectively ignored.