I am displaying a dynamic set of labels and corresponding submit buttons on my
JSP.
The corresponding code is as follows:
<c:forEach items="${CDActionForm.caseCollection}" var="cStatusActionForm">
${cStatusActionForm.caseNumber}
<html:submit property="submitButtonAction" styleId="submitButtonAction" styleClass="formButton">
<bean:message key="<%=Constants.VIEW_BUTTON_KEY%>" />
</html:submit>
</c:forEach>
All the submit buttons take me to a same action method in the Action class.
In the action method I want to know the label value corresponding to the button which generated the event. How do I do that?