This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error while trying to set the disabled attribute of html:radio using the scriptlet

 
sourabh chhabra
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying to set the disabled attribute of html:radio using the scriptlet <=% %>

but i am getting this error

javax.servlet.jsp.JspException: ServletException in '/abcRequest.do?mode=loadRefPage': Unable to compile class for JSP: An error occurred at line: 256 in the jsp file: /form/abc.jsp The method setDisabled(boolean) in the type BaseHandlerTag is not applicable for the arguments (String) 253:



please help.

 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saurabh,
Do not use scriplets. Try defining list size using struts tags as shown below.
example:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic