Tip: how to instantiate an actionform (sub-class) base on form name

xiaoxiao2021-03-06  20

Assume form name is "roleform", and Type is Dynavalidatorform

DynavalidatorForm Roleform = (DynavalidatorForm) mapping.getModuleconfig () .finderMbeAnconfig ("roleform") .createActionform (this.getServlet ());

转载请注明原文地址:https://www.9cbs.com/read-42809.html

New Post(0)