DemoStructAction.java~2~
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:

Java编程

开发平台:

Java

  1. package demostrcuts;
  2. import org.apache.struts.action.*;
  3. import javax.servlet.http.*;
  4. public class DemoStructAction extends Action {
  5.   public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) {
  6.     /**@todo: complete the business logic here, this is just a skeleton.*/
  7.     DemoActionForm demoActionForm = (DemoActionForm) actionForm;
  8.     actionMapping.findForward("success");
  9.     //throw new java.lang.UnsupportedOperationException("Method perform() not yet implemented.");
  10.   }
  11. }