手册目录
摘要
极速体验 Model与Bean
JFinalConfig
Controller
ActiveRecord
EhCachePlugin
RedisPlugin
Validator
FreeMarker
Controller 以及在其中定义的 public 无参方法称为一个 Action。Action 是请求的最小单位。
Action 方法必须在 Controller 中声明,该方法必须是 public 可见性且没有形参。
以上代码中定义了两个 Action:HelloController.index()、HelloController.test()。在 Controller
中提供了 getPara、getModel 系列方法 setAttr 方法以及 render 系列方法供 Action 使用。
相关视频
科技资讯
24小时阅读榜
1
2
3
4
5
6
7
8
9
10
精品课程
共5课时 | 17.4万人学习
共49课时 | 78.2万人学习
共29课时 | 62.5万人学习
共25课时 | 39.7万人学习
共43课时 | 73.8万人学习