Seriously, the ability to place expressions in attributes is dependent on how the tag was defined.
However, the <html:checkbox> tag is a Struts tag and it should be coded according to Struts constraints.
You don't need a <c
ut> tag here, because you can use EL and just say:
Note that "bean
,myname is incorrect. Use a dot, not a comma, just like in regular
Java.
Also,
this only works if you include the Struts.el jar! The normal Struts classes don't support EL.
This question would have been more appropriate for the Struts forum, BTW.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.