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..
int num=10;
<jsp:setProperty name="bn" property="height" value="<%=num%>" />
should work properly
My honeysuckle is blooming this year! Now to fertilize this tiny ad:
Why should you try IntelliJ IDEA ?

This thread has been viewed 465 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 21, 2018 22:33:24.