Hmm... You are correct that this is the behavior described by the real spec.
Even though the JSP reference card on Sun's website clearly state a
different behavior.
http://java.sun.com/products/jsp/syntax/2.0/syntaxref2027.html#8865
I guest we can only blame the reference card. :-)
On Tue, Jun
On Jun 17, 2008, at 12:42 PM, Hacking Bear wrote:
See in the discussion link
You need to address the section I quoted from the spec. It is
extremely clear:
> 5. If the object is not found in the specified scope and neither
class nor beanName are
> give, a java.lang.InstantiationExce
See in the discussion link
However, you may be right that the tag lib spec allows the use of type
attribute only. In
http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html , it first
says "If the Bean does not exist, instantiates it from a class
or serialized template." and then on
On Jun 17, 2008, at 11:51 AM, Hacking Bear wrote:
Hi,
As we are discussing some other issues, we found a potential serious
problem with jsp:useBean. Basically, if useBean only has the type
parameter but not the class/bean parameters, the resin server will
fail because it does not know wh