File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes error while trying to set the disabled attribute of html:radio using the scriptlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "error while trying to set the disabled attribute of html:radio using the scriptlet" Watch "error while trying to set the disabled attribute of html:radio using the scriptlet" New topic
Author

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

sourabh chhabra
Greenhorn

Joined: Mar 22, 2012
Posts: 3
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

Joined: Jan 30, 2011
Posts: 329

Hi Saurabh,
Do not use scriplets. Try defining list size using struts tags as shown below.
example:



Have Fun with Java
little,little.. little by little makes a lot..
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: error while trying to set the disabled attribute of html:radio using the scriptlet
 
Similar Threads
Session Issue
bean:define to define a bean of specific object type
logic:match , logic:notEqual not working
Scriptlet in STRUTS 2
Displaying Questions from Database in struts