int inum = 10; How can i write this value to the height property(int) of a bean from a jsp.. <jsp:setProperty name="bn" property="height" value="+inum+" /> It gives NumberFormatException.. pls help.. Pranit..
Post by:anand chawla
, Ranch Hand
int num=10; <jsp:setProperty name="bn" property="height" value="<%=num%>" /> should work properly
Destroy anything that stands in your way. Except this tiny ad:
Thread Boost - a very different sort of advertising