how to disable buttons based on a condition in jsp?

前端 未结 4 841
一生所求
一生所求 2020-12-06 07:52

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 va

4条回答
  •  生来不讨喜
    2020-12-06 08:10

    Try using JSTL construction like this:

    ">
    

    For more examples see http://www.ibm.com/developerworks/java/library/j-jstl0211/index.html

提交回复
热议问题