com.easyjf.web
Class Action

java.lang.Object
  extended bycom.easyjf.web.Action
All Implemented Interfaces:
IWebAction

public class Action
extends java.lang.Object
implements IWebAction

Title: 简单的IWebAction默认实现示例

Description: 实现IWebAction接口,IWebAction的默认实现

Copyright: Copyright (c) 2006

Company: www.easyjf.com

Version:
1.0
Author:
蔡世友

Constructor Summary
Action()
           
Action(ActionServlet servlet, Module module)
           
 
Method Summary
 Page execute(WebForm form, Module module)
          执行Action接口
 ActionServlet getServlet()
           
 void setServlet(ActionServlet servlet)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action()

Action

public Action(ActionServlet servlet,
              Module module)
Method Detail

execute

public Page execute(WebForm form,
                    Module module)
             throws java.lang.Exception
Description copied from interface: IWebAction
执行Action接口

Specified by:
execute in interface IWebAction
Parameters:
form -
module -
Returns:
显示数据的模板或直接跳转的URL
Throws:
java.lang.Exception

getServlet

public ActionServlet getServlet()

setServlet

public void setServlet(ActionServlet servlet)