JavaBeans: Difference between revisions

Content deleted Content added
m Reverted 1 edit by 27.5.78.91 (talk) to last revision by 2601:281:C100:3ED0:6107:6E95:63AE:F824
change source to syntaxhighlight
Line 71:
 
===Code example===
<sourcesyntaxhighlight lang=Java>
package player;
 
Line 128:
}
}
</syntaxhighlight>
</source>
 
'''<u><code>TestPersonBean.java</code></u>''':
<sourcesyntaxhighlight lang=Java>
import player.PersonBean;
 
Line 155:
}
}
</syntaxhighlight>
</source>
 
<sourcesyntaxhighlight lang="xml">
<jsp:useBean id="person" class="player.PersonBean" scope="page"/>
<jsp:setProperty name="person" property="*"/>
Line 177:
</body>
</html>
</syntaxhighlight>
</source>
 
==References==