I have a question regarding section 5.1 of the JSP specification <jsp:useBean>.
There it is stated:
The type attribute should be used to specify a Java type that cannot
be instantiated as a JavaBean (i.e. a Java type that is an abstract class,
interface, or a class with no public no-args constructor).
However, nothing is specified about inner classes. Do you think that it is
necessary for a clarification to be added stating that instances of inner
classes cannot be created using <jsp:useBean> (which is implied by the following
JSP spec excerpt)?
If the object is not found in the specified scope, and the class specified
names a non-abstract class that defines a public no-args constructor, then
the class is instantiated.
Moreover, in the case where an inner class instance has been previously
created and jsp:useBean is only used to create a reference to it, then it is
possible to use an inner class.
The question is about canonical and binary class names. Are you planning to
update the JSP specification with a piece of text that binary names should be
used for "class" attribute and canonical file names for "type" attribute?
There is already a solution described by Kin-Man in
http://issues.apache.org/bugzilla/show_bug.cgi?id=35351 . Is it the recommended one?