Page 1 of 1

About Question enthuware.jwpv6.2.1058 :

Posted: Sun Feb 02, 2014 8:34 am
by dmitrysemenov
In explanation for
"<jsp:useBean id="pref" type="com.abs.Preferences" scope="application"/>"
"lass or beanName attributes are not present so the bean cannot be instantiated".

But it is legal for jsp:useBean to use just "type" as a typeSpec.

Re: About Question enthuware.jwpv6.2.1058 :

Posted: Sun Feb 02, 2014 10:31 pm
by admin
type only specifies the reference type. But to instantiate the actual object, you need a class name or a bean name.
Having just the type is not valid.

HTH,
Paul.