?? action.java
字號:
package com.easyjf.web;
/**
*
* <p>
* Title: 簡單的IWebAction默認實現示例
* </p>
* <p>
* Description: 實現IWebAction接口,IWebAction的默認實現
* </p>
* <p>
* Copyright: Copyright (c) 2006
* </p>
* <p>
* Company: www.easyjf.com
* </p>
*
* @author 蔡世友
* @version 1.0
*/
public class Action implements IWebAction {
protected ActionServlet servlet;
public Action() {
}
public Action(ActionServlet servlet, Module module) {
this.servlet = servlet;
}
public Page execute(WebForm form, Module module) throws Exception {
Page page = null;
if (module != null) {
page = module.findPage(module.getDefaultPage());
}
return page;
}
public ActionServlet getServlet() {
return servlet;
}
public void setServlet(ActionServlet servlet) {
this.servlet = servlet;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -