Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Just read <a href="http://www.oracle.com/technetwork/java/syntaxref12-149806.pdf" rel="nofollow">the <code>&lt;jsp:useBean&gt;</code> documentation (page 35)</a>. Here's an extract of relevance:</p> <blockquote> <ul> <li><p><code>class="package.class" type="package.class"</code></p> <p>Instantiates a bean from the class named in <code>class</code> and assigns the bean the data type you specify in <code>type</code>. The value of <code>type</code> can be the same as <code>class</code>, a superclass of <code>class</code>, or an interface implemented by <code>class</code>.</p> <p>The class you specify in <code>class</code> must not be abstract and must have a public, no-argument constructor. The package and class names you use with both <code>class</code> and <code>type</code> are case sensitive.</p></li> <li><p><code>beanName="{package.class | &lt;%= expression %&gt;}" type="package.class"</code></p> <p>Instantiates a bean from a class, a serialized template, or an expression that evaluates to a class or serialized template. When you use <code>beanName</code>, the bean is instantiated by the <code>java.beans.Beans.instantiate</code> method. The <code>Beans.instantiate</code> method checks whether the package and class you specify represents a class or a serialized template. If they represent a serialized template, <code>Beans.instantiate</code> reads the serialized form (which has a name like <code>package.class.ser</code>) using a class loader.</p> <p>The value of <code>type</code> can be the same as <code>beanName</code>, a superclass of <code>beanName</code>, or an interface implemented by <code>beanName</code>. The package and class names you use with both <code>beanName</code> and <code>type</code> are case sensitive.</p></li> </ul> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload