Because the argument of class is intended to be
used as a parameter to the Beans.instantiate call
you will have to put the fully qualified class name
in the attribute. Imports are used purely at
compile time.
Sam
> In JSWDk_1.0, I've noticed that the import and useBean
> directives, does not
> work together. The <% page import="somePackage.*" %> should import all
> classes in the package. The <jsp:useBean id="classid", scope="classScope"
> class="class" > should load the class within "somePackag". This does not
> work in JSWDK-1.0. I had to explicitly put "somePackage.class" in the
> useBean directive. Is this a bug?
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html