JavaScript is one option, but I would suggest to look into JSTL . That way if you need to set radio buttons as servlet require you have far easier quest :)
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
hi
peter,Can you tell me
how can i access the HTML
form element through the JSTL tag
Would you mind explain what you are about as your original question does not really make sense?
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Could be simple like this
<input type='radio' name='<c:out value="${param.name}"/>' value='1' checked='<c:out value="${param.checked}"/>' />
Where the values can be set by servlet, passed in session, retried by JSTL tags for session manipulation and then set in appropriated places
PS: sunscreencert, input tag have to be closed by "/" according to HTML4.0.1, see w3schools
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Sessions is the answer, and before you ask about the use of sessions have look here (near the end you will find section on JSTL)
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
That example is for beginners to get them started and point them in correct direction, not for hardened pros.
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902