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.
About Question enthuware.jwpv6.2.1058 :
Moderator: admin
-
- Posts: 1
- Joined: Sun Feb 02, 2014 8:32 am
- Contact:
-
- Site Admin
- Posts: 10386
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1058 :
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.
Having just the type is not valid.
HTH,
Paul.
Who is online
Users browsing this forum: No registered users and 7 guests