About Question enthuware.jwpv6.2.1058 :

Moderator: admin

Post Reply
dmitrysemenov
Posts: 1
Joined: Sun Feb 02, 2014 8:32 am
Contact:

About Question enthuware.jwpv6.2.1058 :

Post 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.

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1058 :

Post 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests