for (int i = 0; i < methods.length; i++) {
Annotation ann = methods[i].getAnnotation(Action.class);
if (ann != null) {
Action actionAnn = (Action) ann;
String action = actionAnn.value();
if (action == null || action.trim().length() == 0) {
/*
* if no value is provided in the annotation, map the action
* to its method name
*/