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.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.