May 14, 2021 JFinal manual
Controller and the public non-participation method defined in it are called Action. Action is the smallest unit of the request.
The Action method must be declared in Controller, and the method must be public visibility and have no parameters.
ublic class HelloController extends Controller {
public void index() s renderText ("This method is an action");
}
public void test() s renderText ("This method is an action");
}
}
Two Actions are defined in the above code: HelloController.index (), helloController.test (). At Controller
GetPara, getModel series method setAttr method, and render series method are available for Action.