LxrxxSelect.java
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:1k
- package com.webtier.clientlxrxxAction;
- import org.apache.struts.action.ActionMapping;
- import org.apache.struts.action.ActionForm;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import org.apache.struts.action.ActionForward;
- import org.apache.struts.action.Action;
- import com.service.LxrxxFacade;
- import com.service.LxrxxFacadeImpl;
- //信息人信息的全部查询
- public class LxrxxSelect
- extends Action {
- private LxrxxFacade facade = null;
- public LxrxxSelect() {
- this.facade = new LxrxxFacadeImpl();
- }
- public ActionForward perform(ActionMapping actionMapping,
- ActionForm actionForm,
- HttpServletRequest servletRequest,
- HttpServletResponse servletResponse) {
- servletRequest.setAttribute("list", this.facade.select());
- if (servletRequest.getParameter("method") == null) {
- return actionMapping.findForward("lxrxxSelect");
- }
- else {
- return actionMapping.findForward("lxrxxSelectEmail");
- }
- }}