JavaBeans: Difference between revisions

Content deleted Content added
Line 157:
</source>
 
====Use in a [[JavaServer Pages|JavaServer Page]]====
'''<u><code>testPersonBean.jsp</code></u>''';
<source lang="html4strict">
<% // Use of PersonBean in a JSP. %>
<jsp:useBean id="person" class="player.PersonBean" scope="page"/>
<jsp:setProperty name="person" property="*"/>