I have a class wich has a boolean field. I want to bind it with a radio button. I writ the code in my jsp file like this:
But it dosn't work, nothing will be shown. If I remove the spring:bind from the code, the radio button can be shown. I think I made a mistake in the code, who can tell me how to correct it? ThanksCode:<spring:bind path="SomeOne.gender"> Male<input type="radio" name="gender" value="Male" > Female<input type="radio" name="gender" value="Female"> </spring:bind>


Reply With Quote