<html>
  <body>
	<jsp:useBean id="mybean1" class="org.gjt.jsp.test.MiniBeanShortO0"/>
	<jsp:useBean id="mybean2" class="org.gjt.jsp.test.MiniBeanShortO1"/>
short property: 1/0<br>
<!-- name/property/param/value -->
<jsp:setProperty name="mybean1" property="x" value="1" /><jsp:setProperty name="mybean2" property="x" value="0" />

Value: <%= (mybean1.getX().shortValue()==1?"set":"not-set") %>:<%= (mybean2.getX().shortValue()==0?"set":"not-set") %>
  </body>
</html>
