ex6_42.txt
来自「j2ee core design patterns」· 文本 代码 · 共 11 行
TXT
11 行
Example 6.42 Sample Command (Action) Implementation
public final class EditRegistrationAction extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
// Execute business logic
. . .
// Use ViewMapper to identify and retreive appropriate ViewHandle
return (mapping.findForward("success"));
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?