how can I disable a button by checking a condition in my jsp? If true,then the button is enabled,if false,then the button is disabled. The condition would be checking the value of a variable. I know how to disable a button using javascript, but to use it along with the condition in jsp is what I’m not able to figure out. Is it at all possible?
Share
Try using JSTL construction like this:
For more examples see http://www.ibm.com/developerworks/java/library/j-jstl0211/index.html