I am using <s:radio> today:
Following Struts doc
, I have the following code in my jsp:
NetBeans is not happy with my code and marks the whole list component
in red. But it allows me to run the program. The three radio buttons are displayed, but the first button is not pre-selected, as we want. In other words,
is not working.
Now following mkyong
, I change my code as follows:
This time, everything is working perfected: the three radio buttons are displayed and the first button is pre-selected. But even that, NetBeans is not happy either in that it marks the whole list component
in red. Do you know why?