<c:if test="${config.update and not config.caseUpdate}">
<html:submit property="userComments" style="width:200px" styleId="addCommentsBtn">
<bean:message key="button.update.case"/>
</html:submit>
</c:if>
I am confusing about this working mechanism . Can you please explain on if condition.
this will execute
<html:submit property="userComments" style="width:200px" styleId="addCommentsBtn">
<bean:message key="button.update.case.with.comments"/>
</html:submit>
only when
config.updatewill true andconfig.caseUpdatewill falseexample
<c:if test='condition'>Generate some template text
</c:if>
if condition is true it will display template text.
if you want to display gender as male if condition is gender male then you can print male in c:if
for more information go through http://www.exampledepot.com/egs/javax.servlet.jsp.jstl.core/if.html