⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hyxfsearchaction.java

📁 struts+hibernate3的源程序
💻 JAVA
字号:
package org.helpsoft.actions;

import javax.servlet.http.*;

import org.apache.struts.action.*;

import com.helpsoft.util.log.*;
import org.helpsoft.forms.HyxfSearchForm;

/**
 * The submit action for the hyxf search screen.
 *
 * @author  cao guangxin - www.relationinfo.com
 * @struts.action path="/HyxfSearch"
 *                type="org.helpsoft.actions.HyxfSearchAction"
 *                name="hyxfSearchForm"
 *                scope="request"
 *                input="/hyxfList.jsp"
 * @struts.action-forward name="success" path="/initHyxf.do"
 */
public class HyxfSearchAction extends ServiceAction {

   private static Logger log = LogService.getLogger(HyxfSearchAction.class);

   /**
    * Performs an action.
    *
    * @param mapping The ActionMapping used to select this instance
    * @param form The optional ActionForm bean for this request (if any)
    * @param request The optional ActionForm bean for this request (if any)
    * @param response The HTTP response we are creating
    * @return describes where and how control should be forwarded, or <code>null</code> if the response has already
    *         been completed
    * @throws Exception in case of an error
    */
   public ActionForward doPerform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
                                HttpServletResponse response) throws Exception {

      return mapping.findForward("success");
   }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -