This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

html:radio  RSS feed

 
ankur sharma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having problem while using html:radio tag in my jsp. The jsp is working fine if i am using the simple input type=radio tag as

input type="Radio" name="check" value="" onklick="update('%out.print(tmp1.get(i));%');"



but as soon as i convert this to
html:radio property="check" value="" onklick="update('%out.print(tmp1.get(i));%');"



i am getting error as

Cannot find bean under name org.apache.struts.taglib.html.BEAN

Please help me out to find a solution.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"just anks", please check your private messages for an important message from me.
 
Vivek Kr Singh
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cannot find Bean refers to loss of struts action servlet to identify from where the value is being referred.

If you have configured form bean name as "inputForm" then try to provide the same under name property of an html:radio. Property must be referring to a bean attribute here an inputForm attribute with proper getter/setter methods defined.

Remove "-" from on-click
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!