The real question is what kind of error(compile, exception,...)? If you're
outputting the <input> element from java(i.e. such as <%="<input
type=...."%>)
then the quotes(") must be control chars(\"). All radio buttons in a group
should have the same name as mentioned by Suresh. Without a name the input
element is essentially useless because you can not get the selected value
from
the request.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
> to the best of my knowledge Syntax is the
> problem.the actual systax for the radio button is
>
> <input type="Radio" name="name_of the_group">name_u_want to display<p>
> that is why jsp's are not able to convert the code to
> equivalent servlet or
> html.revert back for furthur clarification...
>
>
> > when I use <input type="radio"> in my JSP, I have an error.
> > How can I use this with the JSP and the Bean ?
|