[Logo]
Forums Register Login
Numberfromat Exception..
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..
int num=10;
<jsp:setProperty name="bn" property="height" value="<%=num%>" />
should work properly
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Oct 24, 2017 00:03:24.