On Nov 19, 2008, at 10:17 AM, Jan Kriesten wrote:
> I just came along another problem with resin (3.2.1 this time):
> Error message: java.lang.InstantiationException: jsp:useBean needs
> 'bean' or 'class'
> Show stacktrace
> That shouldn't happen I suppose, right?!
> The syntax ref at Sun says:
> If the Bean already exists in the scope, gives the Bean a data type
> other than
> the class from which it was instantiated. If you use type without
> class or
> beanName, no Bean is instantiated. The package and class name are
> case sensitive.
> So, why is resin complaining at this?
Does the bean exist? If the bean isn't in the scope, then you do need
the bean or class, because the type attribute is only allowed for pre-
> Best regards, --- Jan.
> resin-interest mailing list
resin-interest mailing list