I have a form that builds the entitlements to select for requesting, it also has a remove current access:
When the role and the locations are selected:
Since this either add or remove actions can be done, how can I use JSP form validation to see if "Added" has been clicked on?
I have built a JSP form based on the example in the forums, but I do not know exactly what to check to see if "Added" has been selected.
Any help is appreciated. =)
Thanks.
Try using request.getParameterMap() method. which returns a <Map> object.
And I think you can differentiate the Add/Remove based on the form variable name in the jsp.