刚看到这种用法,弄了半天,有点明白了
(俺是java菜鸟 :oops: )
(俺是java菜鸟 :oops: )
Method method = null;
String methodName = mapping.getParameter();;
method = form.getClass();.getMethod(methodName, null);;
forward = (String); method.invoke(form, null);;